#234087#234087

#234087 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.124 H 264.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#234087
RGBrgb(35, 64, 135)
HSLhsl(223, 59%, 33%)
HSVhsv(223, 74%, 53%)
CMYKcmyk(74.1%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.83, 15.32, -42.96)
CIE-LCHlch(28.83, 45.61, 289.63°)
OKLaboklab(39.19% -0.0117 -0.1235)
OKLCHoklch(39.19% 0.124 264.6)
XYZxyz(6.8982, 5.7727, 23.6677)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234087 #876A23
analogous
#237287 #234087 #382387
triadic
#234087 #872340 #408723
tetradic
#234087 #872372 #876A23 #238738
square
#234087 #872372 #876A23 #238738
split-complementary
#234087 #873823 #728723
monochromatic
#0A1226 #162956 #234087 #3057B8 #5277D2

Accessibility & contrast

On white

9.75
#234087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#234087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234087
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234087#FFFFFF#000000##FFFFFF
##2340871.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234087;
/* rgb */ color: rgb(35, 64, 135);
/* oklch */ color: oklch(39.2% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c74aa',
    500: '#234087',
    950: '#000000',
  },
}
SCSS
$custom: #234087;
$custom-light: #6c74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234087",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 222.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.12403,
    "h": 264.6
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#234087
secondary
#B69850
accent
#B546E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #234087

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

Preview Lab → · Contrast checker → · Palette generator →

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