#234D9E#234D9E

#234D9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.140 H 261.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#234D9E
RGBrgb(35, 77, 158)
HSLhsl(220, 64%, 38%)
HSVhsv(220, 78%, 62%)
CMYKcmyk(77.8%, 51.3%, 0%, 38%)
CIE-LABlab(34.26, 15.55, -48.25)
CIE-LCHlch(34.26, 50.69, 287.86°)
OKLaboklab(43.85% -0.0199 -0.1388)
OKLCHoklch(43.85% 0.14 261.8)
XYZxyz(9.5163, 8.1326, 33.4093)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D9E #9E7423
analogous
#238B9E #234D9E #36239E
triadic
#234D9E #9E234D #4D9E23
tetradic
#234D9E #9E238B #9E7423 #239E36
square
#234D9E #9E238B #9E7423 #239E36
split-complementary
#234D9E #9E3623 #8B9E23
monochromatic
#0D1C3A #18356C #234D9E #2E65D0 #608ADC

Accessibility & contrast

On white

7.99
#234D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234D9E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D9E#FFFFFF#000000##FFFFFF
##234D9E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234d9e;
/* rgb */ color: rgb(35, 77, 158);
/* oklch */ color: oklch(43.9% 0.140 261.8);
Tailwind
colors: {
  custom: {
    50: '#717ebb',
    500: '#234d9e',
    950: '#000000',
  },
}
SCSS
$custom: #234d9e;
$custom-light: #717ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#234d9e",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 219.512,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.14022,
    "h": 261.8
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#234D9E
secondary
#C19E5C
accent
#AE41E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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