#234F97#234F97

#234F97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.128 H 259.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#234F97
RGBrgb(35, 79, 151)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 77%, 59%)
CMYKcmyk(76.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.36, 11.44, -43.85)
CIE-LCHlch(34.36, 45.32, 284.62°)
OKLaboklab(43.78% -0.0226 -0.1258)
OKLCHoklch(43.78% 0.128 259.8)
XYZxyz(9.0730, 8.1826, 30.3734)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F97 #976B23
analogous
#238997 #234F97 #312397
triadic
#234F97 #97234F #4F9723
tetradic
#234F97 #972389 #976B23 #239731
square
#234F97 #972389 #976B23 #239731
split-complementary
#234F97 #973123 #899723
monochromatic
#0C1B34 #173565 #234F97 #2F69C9 #5B8BD9

Accessibility & contrast

On white

7.96
#234F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#234F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F97
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F97#FFFFFF#000000##FFFFFF
##234F971.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#0A4C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f97;
/* rgb */ color: rgb(35, 79, 151);
/* oklch */ color: oklch(43.8% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7fb6',
    500: '#234f97',
    950: '#000000',
  },
}
SCSS
$custom: #234f97;
$custom-light: #6f7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#234f97",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 217.241,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.12785,
    "h": 259.8
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#234F97
secondary
#BE9758
accent
#A842E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F97

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#234F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva