#234797#234797
#234797 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.138 H 263.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #234797 |
|---|---|
| RGB | rgb(35, 71, 151) |
| HSL | hsl(221, 62%, 36%) |
| HSV | hsv(221, 77%, 59%) |
| CMYK | cmyk(76.8%, 53%, 0%, 40.8%) |
| CIE-LAB | lab(32.03, 16.85, -47.61) |
| CIE-LCH | lch(32.03, 50.51, 289.49°) |
| OKLab | oklab(41.99% -0.0158 -0.137) |
| OKLCH | oklch(41.99% 0.138 263.4) |
| XYZ | xyz(8.5303, 7.0972, 30.1925) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.71
Cobalt
#0047AB
ΔE00 2.85
Darkish Blue
#014182
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 4.88
Twilight Blue
#0A437A
ΔE00 5.21
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#234797 #977323
analogous
#238197 #234797 #392397
triadic
#234797 #972347 #479723
tetradic
#234797 #972381 #977323 #239739
square
#234797 #972381 #977323 #239739
split-complementary
#234797 #973923 #819723
monochromatic
#0C1834 #173065 #234797 #2F5EC9 #5B82D9
Accessibility & contrast
On white
8.68
#234797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#234797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #234797
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##234797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##234797 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #234797; /* rgb */ color: rgb(35, 71, 151); /* oklch */ color: oklch(42.0% 0.138 263.4);
Tailwind
colors: {
custom: {
50: '#6f79b6',
500: '#234797',
950: '#000000',
},
}SCSS
$custom: #234797; $custom-light: #6f79b6; $custom-dark: #000000;
JSON
{
"hex": "#234797",
"rgb": {
"r": 35,
"g": 71,
"b": 151
},
"hsl": {
"h": 221.379,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.4199,
"c": 0.13796,
"h": 263.4
},
"luminance": 0.07098
}Semantic roles & 50–950 ramp
primary
#234797
secondary
#BE9E58
accent
#B342E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80