#233C87#233C87

#233C87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.129 H 266.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#233C87
RGBrgb(35, 60, 135)
HSLhsl(225, 59%, 33%)
HSVhsv(225, 74%, 53%)
CMYKcmyk(74.1%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.68, 18.09, -44.83)
CIE-LCHlch(27.68, 48.34, 291.97°)
OKLaboklab(38.31% -0.0082 -0.129)
OKLCHoklch(38.31% 0.129 266.4)
XYZxyz(6.6806, 5.3376, 23.5952)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C87 #876E23
analogous
#236E87 #233C87 #3C2387
triadic
#233C87 #87233C #3C8723
tetradic
#233C87 #87236E #876E23 #23873C
square
#233C87 #87236E #876E23 #23873C
split-complementary
#233C87 #873C23 #6E8723
monochromatic
#0A1126 #162656 #233C87 #3052B8 #5272D2

Accessibility & contrast

On white

10.16
#233C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#233C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C87
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C87#FFFFFF#000000##FFFFFF
##233C871.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233c87;
/* rgb */ color: rgb(35, 60, 135);
/* oklch */ color: oklch(38.3% 0.129 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c71ab',
    500: '#233c87',
    950: '#000000',
  },
}
SCSS
$custom: #233c87;
$custom-light: #6c71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#233c87",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 225,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.12931,
    "h": 266.4
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#233C87
secondary
#B69C50
accent
#BB46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233C87

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

Preview Lab → · Contrast checker → · Palette generator →

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