#2F5F95#2F5F95
#2F5F95 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.102 H 253.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F95 |
|---|---|
| RGB | rgb(47, 95, 149) |
| HSL | hsl(212, 52%, 38%) |
| HSV | hsv(212, 68%, 58%) |
| CMYK | cmyk(68.5%, 36.2%, 0%, 41.6%) |
| CIE-LAB | lab(39.51, 2.07, -34.41) |
| CIE-LCH | lch(39.51, 34.47, 273.44°) |
| OKLab | oklab(47.86% -0.0298 -0.0977) |
| OKLCH | oklch(47.86% 0.102 253.1) |
| XYZ | xyz(10.6873, 10.9576, 29.9797) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.23
Denim (survey)
#3B638C
ΔE00 2.35
Denim Blue
#3B5B92
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 4.11
Denim
#1560BD
ΔE00 4.27
Dusky Blue
#475F94
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F95 #95652F
analogous
#2F9295 #2F5F95 #322F95
triadic
#2F5F95 #952F5F #5F952F
tetradic
#2F5F95 #952F92 #95652F #2F9532
square
#2F5F95 #952F92 #95652F #2F9532
split-complementary
#2F5F95 #95322F #92952F
monochromatic
#122438 #204166 #2F5F95 #3F7DC2 #6D9CD1
Accessibility & contrast
On white
6.58
#2F5F95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2F5F95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5F95
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F95 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f5f95; /* rgb */ color: rgb(47, 95, 149); /* oklch */ color: oklch(47.9% 0.102 253.1);
Tailwind
colors: {
custom: {
50: '#738cb4',
500: '#2f5f95',
950: '#000000',
},
}SCSS
$custom: #2f5f95; $custom-light: #738cb4; $custom-dark: #000000;
JSON
{
"hex": "#2f5f95",
"rgb": {
"r": 47,
"g": 95,
"b": 149
},
"hsl": {
"h": 211.765,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.4786,
"c": 0.1021,
"h": 253.1
},
"luminance": 0.10959
}Semantic roles & 50–950 ramp
primary
#2F5F95
secondary
#B89267
accent
#984CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80