#233E8A#233E8A

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

Color values

HEX#233E8A
RGBrgb(35, 62, 138)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(74.6%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.48, 17.89, -45.39)
CIE-LCHlch(28.48, 48.79, 291.51°)
OKLaboklab(38.99% -0.0096 -0.1307)
OKLCHoklch(38.99% 0.131 265.8)
XYZxyz(7.0016, 5.6368, 24.7588)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E8A #8A6F23
analogous
#23728A #233E8A #3C238A
triadic
#233E8A #8A233E #3E8A23
tetradic
#233E8A #8A2372 #8A6F23 #238A3C
square
#233E8A #8A2372 #8A6F23 #238A3C
split-complementary
#233E8A #8A3C23 #728A23
monochromatic
#0A1228 #172859 #233E8A #2F54BB #5475D4

Accessibility & contrast

On white

9.87
#233E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233E8A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E8A#FFFFFF#000000##FFFFFF
##233E8A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233e8a;
/* rgb */ color: rgb(35, 62, 138);
/* oklch */ color: oklch(39.0% 0.131 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#233e8a',
    950: '#000000',
  },
}
SCSS
$custom: #233e8a;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233e8a",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 224.272,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.13102,
    "h": 265.8
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#233E8A
secondary
#B79D51
accent
#B945E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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