#234F96#234F96

#234F96 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.126 H 259.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#234F96
RGBrgb(35, 79, 150)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 77%, 59%)
CMYKcmyk(76.7%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.29, 11.05, -43.35)
CIE-LCHlch(34.29, 44.74, 284.29°)
OKLaboklab(43.7% -0.0228 -0.1244)
OKLCHoklch(43.7% 0.126 259.6)
XYZxyz(8.9921, 8.1503, 29.9475)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F96 #966A23
analogous
#238996 #234F96 #302396
triadic
#234F96 #96234F #4F9623
tetradic
#234F96 #962389 #966A23 #239630
square
#234F96 #962389 #966A23 #239630
split-complementary
#234F96 #963023 #899623
monochromatic
#0C1B33 #173564 #234F96 #2F69C8 #5B8BD9

Accessibility & contrast

On white

7.98
#234F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#234F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F96
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F96#FFFFFF#000000##FFFFFF
##234F961.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f96;
/* rgb */ color: rgb(35, 79, 150);
/* oklch */ color: oklch(43.7% 0.126 259.6);
Tailwind
colors: {
  custom: {
    50: '#6f7fb5',
    500: '#234f96',
    950: '#000000',
  },
}
SCSS
$custom: #234f96;
$custom-light: #6f7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#234f96",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 217.043,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.12643,
    "h": 259.6
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#234F96
secondary
#BD9658
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F96

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

Preview Lab → · Contrast checker → · Palette generator →

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