#2B5FAF#2B5FAF
#2B5FAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.139 H 258.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FAF |
|---|---|
| RGB | rgb(43, 95, 175) |
| HSL | hsl(216, 61%, 43%) |
| HSV | hsv(216, 75%, 69%) |
| CMYK | cmyk(75.4%, 45.7%, 0%, 31.4%) |
| CIE-LAB | lab(40.88, 11.26, -47.69) |
| CIE-LCH | lch(40.88, 49.00, 283.28°) |
| OKLab | oklab(49.38% -0.0268 -0.1367) |
| OKLCH | oklch(49.38% 0.139 258.9) |
| XYZ | xyz(12.8235, 11.7917, 42.1493) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.83
Denim Blue
#3B5B92
ΔE00 4.15
Mid Blue
#276AB3
ΔE00 4.33
French Blue
#436BAD
ΔE00 4.38
Denim (survey)
#3B638C
ΔE00 4.45
Sapphire
#0F52BA
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FAF #AF7B2B
analogous
#2BA1AF #2B5FAF #392BAF
triadic
#2B5FAF #AF2B5F #5FAF2B
tetradic
#2B5FAF #AF2BA1 #AF7B2B #2BAF39
square
#2B5FAF #AF2BA1 #AF7B2B #2BAF39
split-complementary
#2B5FAF #AF392B #A1AF2B
monochromatic
#132A4D #1F447E #2B5FAF #467DD1 #779FDE
Accessibility & contrast
On white
6.25
#2B5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2B5FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FAF
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FAF | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5faf; /* rgb */ color: rgb(43, 95, 175); /* oklch */ color: oklch(49.4% 0.139 258.9);
Tailwind
colors: {
custom: {
50: '#778bc7',
500: '#2b5faf',
950: '#000000',
},
}SCSS
$custom: #2b5faf; $custom-light: #778bc7; $custom-dark: #000000;
JSON
{
"hex": "#2b5faf",
"rgb": {
"r": 43,
"g": 95,
"b": 175
},
"hsl": {
"h": 216.364,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.4938,
"c": 0.13927,
"h": 258.9
},
"luminance": 0.11793
}Semantic roles & 50–950 ramp
primary
#2B5FAF
secondary
#C5A470
accent
#A544E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82