#233D8C#233D8C

#233D8C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.135 H 266.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#233D8C
RGBrgb(35, 61, 140)
HSLhsl(225, 60%, 34%)
HSVhsv(225, 75%, 55%)
CMYKcmyk(75%, 56.4%, 0%, 45.1%)
CIE-LABlab(28.35, 19.36, -46.84)
CIE-LCHlch(28.35, 50.68, 292.46°)
OKLaboklab(38.94% -0.0086 -0.1349)
OKLCHoklch(38.94% 0.135 266.3)
XYZxyz(7.0938, 5.5875, 25.5105)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8C #8C7223
analogous
#23728C #233D8C #3E238C
triadic
#233D8C #8C233D #3D8C23
tetradic
#233D8C #8C2372 #8C7223 #238C3E
square
#233D8C #8C2372 #8C7223 #238C3E
split-complementary
#233D8C #8C3E23 #728C23
monochromatic
#0B122A #17285B #233D8C #2F52BD #5575D4

Accessibility & contrast

On white

9.92
#233D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#233D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D8C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8C#FFFFFF#000000##FFFFFF
##233D8C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233d8c;
/* rgb */ color: rgb(35, 61, 140);
/* oklch */ color: oklch(38.9% 0.135 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d72ae',
    500: '#233d8c',
    950: '#000000',
  },
}
SCSS
$custom: #233d8c;
$custom-light: #6d72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8c",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 140
  },
  "hsl": {
    "h": 225.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.13522,
    "h": 266.3
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#233D8C
secondary
#B89F52
accent
#BC45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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