#313B95
Closest named color: Blueberry (#464196). oklch(40.1% 0.147 273), rgb(49, 59, 149).
Aa
White text reads best on this color (9.58:1).
About this color
#313B95 is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.147 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.037 away. White text reads best on it, at 9.58:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | vivid (0.147) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.19:1 |
| White text | 9.58:1 |
Values
| HEX | #313B95 |
| RGB | rgb(49, 59, 149) |
| HSL | hsl(234, 51%, 39%) |
| OKLCH | oklch(40.1% 0.147 273) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #313B95 | 9.58:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #313B95 | 2.19:1 | Fails | Lc 12.2 | Not readable |
| #313B95 text on white | 9.58:1 | AAA | Lc 91.8 | Preferred for body text |
| #313B95 text on black | 2.19:1 | Fails | Lc -10.6 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FF
oklch(93.6% 0.03 273.6)
-
Step 200
200
#CCD7FF
oklch(88.4% 0.057 273.1)
-
Step 300
300
#ACBDFF
oklch(80.9% 0.095 273)
-
Step 400
400
#8298FF
oklch(70.8% 0.152 272.8)
-
Step 500
500
#6579FF
oklch(63.1% 0.198 273)
-
Step 600
600
#4D56FE
oklch(55.6% 0.244 272.9)
-
Step 700
700
#3F44DE
oklch(49.1% 0.227 272.9)
-
Step 800
800
#343AB3
oklch(42.8% 0.187 273.1)
-
Step 900
900 (this color)
#313B95
oklch(40.1% 0.147 273)
-
Step 950
950
#192053
oklch(27.1% 0.093 272.7)
#313B95 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #004A98 | 0.047 |
| Deuteranopia (no green cones) | #004193 | 0.038 |
| Tritanopia (no blue cones) | #005162 | 0.120 |
| Achromatopsia (no color) | #454545 | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313B95
#313B95
oklch(40.1% 0.147 273)
- #574600
#574600
oklch(40% 0.082 93)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #313B95, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.037
- Cobalt #1E488F ΔE 0.039
- Dark Slate Blue #483D8B ΔE 0.040
- Sapphire #2138AB ΔE 0.041
- Twilight Blue #0A437A ΔE 0.062
- Dusk Blue #26538D ΔE 0.067
- Light Navy #155084 ΔE 0.069
- Indigo Blue #3A18B1 ΔE 0.072
Use #313B95 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.