#233D87#233D87

#233D87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.128 H 266.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#233D87
RGBrgb(35, 61, 135)
HSLhsl(224, 59%, 33%)
HSVhsv(224, 74%, 53%)
CMYKcmyk(74.1%, 54.8%, 0%, 47.1%)
CIE-LABlab(27.96, 17.40, -44.36)
CIE-LCHlch(27.96, 47.65, 291.41°)
OKLaboklab(38.53% -0.009 -0.1277)
OKLCHoklch(38.53% 0.128 266)
XYZxyz(6.7335, 5.4434, 23.6128)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D87 #876D23
analogous
#236F87 #233D87 #3B2387
triadic
#233D87 #87233D #3D8723
tetradic
#233D87 #87236F #876D23 #23873B
square
#233D87 #87236F #876D23 #23873B
split-complementary
#233D87 #873B23 #6F8723
monochromatic
#0A1126 #162756 #233D87 #3053B8 #5273D2

Accessibility & contrast

On white

10.05
#233D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D87
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D87#FFFFFF#000000##FFFFFF
##233D871.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233d87;
/* rgb */ color: rgb(35, 61, 135);
/* oklch */ color: oklch(38.5% 0.128 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#233d87',
    950: '#000000',
  },
}
SCSS
$custom: #233d87;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#233d87",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 224.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.12799,
    "h": 266
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#233D87
secondary
#B69B50
accent
#B946E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233D87

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

Preview Lab → · Contrast checker → · Palette generator →

#233D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva