#234987#234987

#234987 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.112 H 259.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#234987
RGBrgb(35, 73, 135)
HSLhsl(217, 59%, 33%)
HSVhsv(217, 74%, 53%)
CMYKcmyk(74.1%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.51, 9.17, -38.65)
CIE-LCHlch(31.51, 39.72, 283.34°)
OKLaboklab(41.24% -0.0201 -0.1106)
OKLCHoklch(41.24% 0.112 259.7)
XYZxyz(7.4473, 6.8709, 23.8507)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234987 #876123
analogous
#237B87 #234987 #2F2387
triadic
#234987 #872349 #498723
tetradic
#234987 #87237B #876123 #23872F
square
#234987 #87237B #876123 #23872F
split-complementary
#234987 #872F23 #7B8723
monochromatic
#0A1426 #162F56 #234987 #3063B8 #5283D2

Accessibility & contrast

On white

8.84
#234987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#234987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234987
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234987#FFFFFF#000000##FFFFFF
##2349871.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #234987;
/* rgb */ color: rgb(35, 73, 135);
/* oklch */ color: oklch(41.2% 0.112 259.7);
Tailwind
colors: {
  custom: {
    50: '#6c7baa',
    500: '#234987',
    950: '#000000',
  },
}
SCSS
$custom: #234987;
$custom-light: #6c7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#234987",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 217.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.11243,
    "h": 259.7
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#234987
secondary
#B68F50
accent
#A746E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234987

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

Preview Lab → · Contrast checker → · Palette generator →

#234987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva