#233E8B#233E8B

#233E8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.132 H 265.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#233E8B
RGBrgb(35, 62, 139)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 55%)
CMYKcmyk(74.8%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.55, 18.28, -45.88)
CIE-LCHlch(28.55, 49.39, 291.72°)
OKLaboklab(39.07% -0.0095 -0.1321)
OKLCHoklch(39.07% 0.132 265.9)
XYZxyz(7.0743, 5.6659, 25.1419)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E8B #8B7023
analogous
#23728B #233E8B #3C238B
triadic
#233E8B #8B233E #3E8B23
tetradic
#233E8B #8B2372 #8B7023 #238B3C
square
#233E8B #8B2372 #8B7023 #238B3C
split-complementary
#233E8B #8B3C23 #728B23
monochromatic
#0A1229 #17285A #233E8B #2F54BC #5476D4

Accessibility & contrast

On white

9.84
#233E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#233E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E8B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E8B#FFFFFF#000000##FFFFFF
##233E8B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233e8b;
/* rgb */ color: rgb(35, 62, 139);
/* oklch */ color: oklch(39.1% 0.132 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#233e8b',
    950: '#000000',
  },
}
SCSS
$custom: #233e8b;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233e8b",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 224.423,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.13246,
    "h": 265.9
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#233E8B
secondary
#B89D52
accent
#BA45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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