#233D8D#233D8D

#233D8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.137 H 266.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#233D8D
RGBrgb(35, 61, 141)
HSLhsl(225, 60%, 35%)
HSVhsv(225, 75%, 55%)
CMYKcmyk(75.2%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.43, 19.76, -47.33)
CIE-LCHlch(28.43, 51.29, 292.66°)
OKLaboklab(39.03% -0.0086 -0.1364)
OKLCHoklch(39.03% 0.137 266.4)
XYZxyz(7.1679, 5.6171, 25.9006)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8D #8D7323
analogous
#23728D #233D8D #3E238D
triadic
#233D8D #8D233D #3D8D23
tetradic
#233D8D #8D2372 #8D7323 #238D3E
square
#233D8D #8D2372 #8D7323 #238D3E
split-complementary
#233D8D #8D3E23 #728D23
monochromatic
#0B132B #17285C #233D8D #2F52BE #5575D5

Accessibility & contrast

On white

9.89
#233D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233D8D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8D#FFFFFF#000000##FFFFFF
##233D8D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233d8d;
/* rgb */ color: rgb(35, 61, 141);
/* oklch */ color: oklch(39.0% 0.137 266.4);
Tailwind
colors: {
  custom: {
    50: '#6e72af',
    500: '#233d8d',
    950: '#000000',
  },
}
SCSS
$custom: #233d8d;
$custom-light: #6e72af;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8d",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 225.283,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.13665,
    "h": 266.4
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#233D8D
secondary
#B9A053
accent
#BC44E3
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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