#232A9A#232A9A

#232A9A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.177 H 271.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#232A9A
RGBrgb(35, 42, 154)
HSLhsl(236, 63%, 37%)
HSVhsv(236, 77%, 60%)
CMYKcmyk(77.3%, 72.7%, 0%, 39.6%)
CIE-LABlab(24.78, 37.25, -61.28)
CIE-LCHlch(24.78, 71.72, 301.29°)
OKLaboklab(36.71% 0.0033 -0.1774)
OKLCHoklch(36.71% 0.177 271.1)
XYZxyz(7.3519, 4.3456, 31.0169)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A9A #9A9323
analogous
#23659A #232A9A #58239A
triadic
#232A9A #9A232A #2A9A23
tetradic
#232A9A #9A2365 #9A9323 #239A58
square
#232A9A #9A2365 #9A9323 #239A58
split-complementary
#232A9A #9A5823 #659A23
monochromatic
#0C0F36 #181C68 #232A9A #2E38CC #5D65DA

Accessibility & contrast

On white

11.23
#232A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#232A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A9A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A9A#FFFFFF#000000##FFFFFF
##232A9A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232a9a;
/* rgb */ color: rgb(35, 42, 154);
/* oklch */ color: oklch(36.7% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#232a9a',
    950: '#000000',
  },
}
SCSS
$custom: #232a9a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#232a9a",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 236.471,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.17743,
    "h": 271.1
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#232A9A
secondary
#BFB95A
accent
#DC42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #232A9A

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

Preview Lab → · Contrast checker → · Palette generator →

#232A9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva