#233C81#233C81

#233C81 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.121 H 265.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#233C81
RGBrgb(35, 60, 129)
HSLhsl(224, 57%, 32%)
HSVhsv(224, 73%, 51%)
CMYKcmyk(72.9%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.22, 15.72, -41.82)
CIE-LCHlch(27.22, 44.68, 290.61°)
OKLaboklab(37.83% -0.0087 -0.1202)
OKLCHoklch(37.83% 0.121 265.8)
XYZxyz(6.2701, 5.1734, 21.4327)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C81 #816823
analogous
#236B81 #233C81 #392381
triadic
#233C81 #81233C #3C8123
tetradic
#233C81 #81236B #816823 #238139
square
#233C81 #81236B #816823 #238139
split-complementary
#233C81 #813923 #6B8123
monochromatic
#090F21 #162651 #233C81 #3052B1 #4F71CF

Accessibility & contrast

On white

10.32
#233C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#233C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C81
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C81#FFFFFF#000000##FFFFFF
##233C811.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104583
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233c81;
/* rgb */ color: rgb(35, 60, 129);
/* oklch */ color: oklch(37.8% 0.121 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b71a6',
    500: '#233c81',
    950: '#000000',
  },
}
SCSS
$custom: #233c81;
$custom-light: #6b71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#233c81",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 224.043,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.12052,
    "h": 265.8
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#233C81
secondary
#B3984D
accent
#B847E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C81

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

Preview Lab → · Contrast checker → · Palette generator →

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