#2F306C#2F306C
#2F306C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.102 H 278.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F306C |
|---|---|
| RGB | rgb(47, 48, 108) |
| HSL | hsl(239, 39%, 30%) |
| HSV | hsv(239, 56%, 42%) |
| CMYK | cmyk(56.5%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(23.00, 18.43, -35.26) |
| CIE-LCH | lch(23.00, 39.78, 297.59°) |
| OKLab | oklab(34.35% 0.0157 -0.1008) |
| OKLCH | oklch(34.35% 0.102 278.9) |
| XYZ | xyz(4.9352, 3.8006, 14.6580) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.68
Marine
#042E60
ΔE00 6.99
Midnight Blue
#191970
ΔE00 7.44
Navy Blue
#1B2A4A
ΔE00 7.55
Blueberry
#464196
ΔE00 8.17
Marine Blue
#01386A
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F306C #6C6B2F
analogous
#2F4E6C #2F306C #4C2F6C
triadic
#2F306C #6C2F30 #306C2F
tetradic
#2F306C #6C2F4E #6C6B2F #2F6C4C
square
#2F306C #6C2F4E #6C6B2F #2F6C4C
split-complementary
#2F306C #6C4C2F #4E6C2F
monochromatic
#0A0A17 #1C1D41 #2F306C #424397 #5D5EB8
Accessibility & contrast
On white
11.93
#2F306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F306C
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F306C | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F396E
Deuteranopia (green-blind)
#06346B
Tritanopia (blue-blind)
#133E49
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f306c; /* rgb */ color: rgb(47, 48, 108); /* oklch */ color: oklch(34.4% 0.102 278.9);
Tailwind
colors: {
custom: {
50: '#6d6896',
500: '#2f306c',
950: '#000000',
},
}SCSS
$custom: #2f306c; $custom-light: #6d6896; $custom-dark: #000000;
JSON
{
"hex": "#2f306c",
"rgb": {
"r": 47,
"g": 48,
"b": 108
},
"hsl": {
"h": 239.016,
"s": 39.355,
"l": 30.392
},
"oklch": {
"l": 0.34351,
"c": 0.10198,
"h": 278.9
},
"luminance": 0.03801
}Semantic roles & 50–950 ramp
primary
#2F306C
secondary
#9D9C59
accent
#CD59CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E