#234387#234387

#234387 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.120 H 263.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#234387
RGBrgb(35, 67, 135)
HSLhsl(221, 59%, 33%)
HSVhsv(221, 74%, 53%)
CMYKcmyk(74.1%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.71, 13.26, -41.53)
CIE-LCHlch(29.71, 43.60, 287.70°)
OKLaboklab(39.86% -0.0144 -0.1192)
OKLCHoklch(39.86% 0.12 263.1)
XYZxyz(7.0719, 6.1202, 23.7256)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234387 #876723
analogous
#237587 #234387 #352387
triadic
#234387 #872343 #438723
tetradic
#234387 #872375 #876723 #238735
square
#234387 #872375 #876723 #238735
split-complementary
#234387 #873523 #758723
monochromatic
#0A1326 #162B56 #234387 #305BB8 #527BD2

Accessibility & contrast

On white

9.44
#234387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#234387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234387
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234387#FFFFFF#000000##FFFFFF
##2343871.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #234387;
/* rgb */ color: rgb(35, 67, 135);
/* oklch */ color: oklch(39.9% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c76aa',
    500: '#234387',
    950: '#000000',
  },
}
SCSS
$custom: #234387;
$custom-light: #6c76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234387",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 220.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.12011,
    "h": 263.1
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#234387
secondary
#B69550
accent
#B046E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #234387

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

Preview Lab → · Contrast checker → · Palette generator →

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