#233D8B#233D8B

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

Color values

HEX#233D8B
RGBrgb(35, 61, 139)
HSLhsl(225, 60%, 34%)
HSVhsv(225, 75%, 55%)
CMYKcmyk(74.8%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.27, 18.97, -46.34)
CIE-LCHlch(28.27, 50.08, 292.26°)
OKLaboklab(38.86% -0.0087 -0.1335)
OKLCHoklch(38.86% 0.134 266.3)
XYZxyz(7.0204, 5.5581, 25.1239)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8B #8B7123
analogous
#23718B #233D8B #3D238B
triadic
#233D8B #8B233D #3D8B23
tetradic
#233D8B #8B2371 #8B7123 #238B3D
square
#233D8B #8B2371 #8B7123 #238B3D
split-complementary
#233D8B #8B3D23 #718B23
monochromatic
#0A1229 #17285A #233D8B #2F52BC #5474D4

Accessibility & contrast

On white

9.94
#233D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#233D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D8B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8B#FFFFFF#000000##FFFFFF
##233D8B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233d8b;
/* rgb */ color: rgb(35, 61, 139);
/* oklch */ color: oklch(38.9% 0.134 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#233d8b',
    950: '#000000',
  },
}
SCSS
$custom: #233d8b;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8b",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 225,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.13378,
    "h": 266.3
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#233D8B
secondary
#B89E52
accent
#BB45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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