#234D9D#234D9D

#234D9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.139 H 261.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#234D9D
RGBrgb(35, 77, 157)
HSLhsl(219, 64%, 38%)
HSVhsv(219, 78%, 62%)
CMYKcmyk(77.7%, 51%, 0%, 38.4%)
CIE-LABlab(34.19, 15.15, -47.76)
CIE-LCHlch(34.19, 50.10, 287.60°)
OKLaboklab(43.77% -0.02 -0.1374)
OKLCHoklch(43.77% 0.139 261.7)
XYZxyz(9.4306, 8.0983, 32.9579)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D9D #9D7323
analogous
#238A9D #234D9D #36239D
triadic
#234D9D #9D234D #4D9D23
tetradic
#234D9D #9D238A #9D7323 #239D36
square
#234D9D #9D238A #9D7323 #239D36
split-complementary
#234D9D #9D3623 #8A9D23
monochromatic
#0D1C39 #18346B #234D9D #2E66CF #5F8ADB

Accessibility & contrast

On white

8.02
#234D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#234D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D9D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D9D#FFFFFF#000000##FFFFFF
##234D9D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234d9d;
/* rgb */ color: rgb(35, 77, 157);
/* oklch */ color: oklch(43.8% 0.139 261.7);
Tailwind
colors: {
  custom: {
    50: '#717eba',
    500: '#234d9d',
    950: '#000000',
  },
}
SCSS
$custom: #234d9d;
$custom-light: #717eba;
$custom-dark: #000000;
JSON
{
  "hex": "#234d9d",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 219.344,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.13881,
    "h": 261.7
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #234D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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