#234189#234189

#234189 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.126 H 264.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#234189
RGBrgb(35, 65, 137)
HSLhsl(222, 59%, 34%)
HSVhsv(222, 74%, 54%)
CMYKcmyk(74.5%, 52.6%, 0%, 46.3%)
CIE-LABlab(29.27, 15.42, -43.49)
CIE-LCHlch(29.27, 46.14, 289.53°)
OKLaboklab(39.57% -0.0123 -0.125)
OKLCHoklch(39.57% 0.126 264.4)
XYZxyz(7.0972, 5.9433, 24.4352)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234189 #896B23
analogous
#237489 #234189 #382389
triadic
#234189 #892341 #418923
tetradic
#234189 #892374 #896B23 #238938
square
#234189 #892374 #896B23 #238938
split-complementary
#234189 #893823 #748923
monochromatic
#0A1328 #172A58 #234189 #2F58BA #5379D3

Accessibility & contrast

On white

9.59
#234189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#234189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234189
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234189#FFFFFF#000000##FFFFFF
##2341891.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234189;
/* rgb */ color: rgb(35, 65, 137);
/* oklch */ color: oklch(39.6% 0.126 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c75ac',
    500: '#234189',
    950: '#000000',
  },
}
SCSS
$custom: #234189;
$custom-light: #6c75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#234189",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 222.353,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.12564,
    "h": 264.4
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#234189
secondary
#B79951
accent
#B445E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #234189

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

Preview Lab → · Contrast checker → · Palette generator →

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