#233B9A#233B9A

#233B9A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.157 H 267.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#233B9A
RGBrgb(35, 59, 154)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 60%)
CMYKcmyk(77.3%, 61.7%, 0%, 39.6%)
CIE-LABlab(28.95, 26.18, -54.45)
CIE-LCHlch(28.95, 60.42, 295.68°)
OKLaboklab(39.75% -0.0066 -0.1573)
OKLCHoklch(39.75% 0.157 267.6)
XYZxyz(8.0878, 5.8175, 31.2622)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B9A #9A8223
analogous
#23779A #233B9A #47239A
triadic
#233B9A #9A233B #3B9A23
tetradic
#233B9A #9A2377 #9A8223 #239A47
square
#233B9A #9A2377 #9A8223 #239A47
split-complementary
#233B9A #9A4723 #779A23
monochromatic
#0C1536 #182868 #233B9A #2E4ECC #5D76DA

Accessibility & contrast

On white

9.71
#233B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B9A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B9A#FFFFFF#000000##FFFFFF
##233B9A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233b9a;
/* rgb */ color: rgb(35, 59, 154);
/* oklch */ color: oklch(39.7% 0.157 267.6);
Tailwind
colors: {
  custom: {
    50: '#7170b9',
    500: '#233b9a',
    950: '#000000',
  },
}
SCSS
$custom: #233b9a;
$custom-light: #7170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233b9a",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 227.899,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.15747,
    "h": 267.6
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#233B9A
secondary
#BFAB5A
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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