#233B87#233B87

#233B87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.131 H 266.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#233B87
RGBrgb(35, 59, 135)
HSLhsl(226, 59%, 33%)
HSVhsv(226, 74%, 53%)
CMYKcmyk(74.1%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.39, 18.78, -45.29)
CIE-LCHlch(27.39, 49.03, 292.52°)
OKLaboklab(38.1% -0.0073 -0.1304)
OKLCHoklch(38.1% 0.131 266.8)
XYZxyz(6.6288, 5.2338, 23.5779)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B87 #876F23
analogous
#236D87 #233B87 #3D2387
triadic
#233B87 #87233B #3B8723
tetradic
#233B87 #87236D #876F23 #23873D
square
#233B87 #87236D #876F23 #23873D
split-complementary
#233B87 #873D23 #6D8723
monochromatic
#0A1126 #162656 #233B87 #3050B8 #5271D2

Accessibility & contrast

On white

10.26
#233B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B87
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B87#FFFFFF#000000##FFFFFF
##233B871.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233b87;
/* rgb */ color: rgb(35, 59, 135);
/* oklch */ color: oklch(38.1% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c70ab',
    500: '#233b87',
    950: '#000000',
  },
}
SCSS
$custom: #233b87;
$custom-light: #6c70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#233b87",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 225.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.13062,
    "h": 266.8
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#233B87
secondary
#B69D50
accent
#BD46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233B87

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

Preview Lab → · Contrast checker → · Palette generator →

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