#234187#234187

#234187 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.123 H 264.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#234187
RGBrgb(35, 65, 135)
HSLhsl(222, 59%, 33%)
HSVhsv(222, 74%, 53%)
CMYKcmyk(74.1%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.12, 14.63, -42.48)
CIE-LCHlch(29.12, 44.93, 289.01°)
OKLaboklab(39.41% -0.0126 -0.1221)
OKLCHoklch(39.41% 0.123 264.1)
XYZxyz(6.9551, 5.8865, 23.6866)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234187 #876923
analogous
#237387 #234187 #372387
triadic
#234187 #872341 #418723
tetradic
#234187 #872373 #876923 #238737
square
#234187 #872373 #876923 #238737
split-complementary
#234187 #873723 #738723
monochromatic
#0A1226 #162A56 #234187 #3058B8 #5279D2

Accessibility & contrast

On white

9.64
#234187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#234187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234187
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234187#FFFFFF#000000##FFFFFF
##2341871.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234187;
/* rgb */ color: rgb(35, 65, 135);
/* oklch */ color: oklch(39.4% 0.123 264.1);
Tailwind
colors: {
  custom: {
    50: '#6c75aa',
    500: '#234187',
    950: '#000000',
  },
}
SCSS
$custom: #234187;
$custom-light: #6c75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234187",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 222,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.12272,
    "h": 264.1
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#234187
secondary
#B69750
accent
#B346E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #234187

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

Preview Lab → · Contrast checker → · Palette generator →

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