#233D8A#233D8A

#233D8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.132 H 266.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#233D8A
RGBrgb(35, 61, 138)
HSLhsl(225, 60%, 34%)
HSVhsv(225, 75%, 54%)
CMYKcmyk(74.6%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.19, 18.58, -45.85)
CIE-LCHlch(28.19, 49.47, 292.06°)
OKLaboklab(38.78% -0.0088 -0.132)
OKLCHoklch(38.78% 0.132 266.2)
XYZxyz(6.9477, 5.5291, 24.7409)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8A #8A7023
analogous
#23718A #233D8A #3C238A
triadic
#233D8A #8A233D #3D8A23
tetradic
#233D8A #8A2371 #8A7023 #238A3C
square
#233D8A #8A2371 #8A7023 #238A3C
split-complementary
#233D8A #8A3C23 #718A23
monochromatic
#0A1228 #172759 #233D8A #2F53BB #5474D4

Accessibility & contrast

On white

9.97
#233D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233D8A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8A#FFFFFF#000000##FFFFFF
##233D8A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233d8a;
/* rgb */ color: rgb(35, 61, 138);
/* oklch */ color: oklch(38.8% 0.132 266.2);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#233d8a',
    950: '#000000',
  },
}
SCSS
$custom: #233d8a;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8a",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 224.854,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.13233,
    "h": 266.2
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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