#232A99#232A99

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

Color values

HEX#232A99
RGBrgb(35, 42, 153)
HSLhsl(236, 63%, 37%)
HSVhsv(236, 77%, 60%)
CMYKcmyk(77.1%, 72.5%, 0%, 40%)
CIE-LABlab(24.68, 36.90, -60.84)
CIE-LCHlch(24.68, 71.15, 301.23°)
OKLaboklab(36.6% 0.0035 -0.1761)
OKLCHoklch(36.6% 0.176 271.1)
XYZxyz(7.2689, 4.3124, 30.5801)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A99 #999223
analogous
#236599 #232A99 #572399
triadic
#232A99 #99232A #2A9923
tetradic
#232A99 #992365 #999223 #239957
square
#232A99 #992365 #999223 #239957
split-complementary
#232A99 #995723 #659923
monochromatic
#0C0F35 #181C67 #232A99 #2E38CB #5D64DA

Accessibility & contrast

On white

11.27
#232A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#232A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A99
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A99#FFFFFF#000000##FFFFFF
##232A991.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232a99;
/* rgb */ color: rgb(35, 42, 153);
/* oklch */ color: oklch(36.6% 0.176 271.1);
Tailwind
colors: {
  custom: {
    50: '#7264b8',
    500: '#232a99',
    950: '#000000',
  },
}
SCSS
$custom: #232a99;
$custom-light: #7264b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232a99",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 236.441,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.17615,
    "h": 271.1
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#232A99
secondary
#BEB859
accent
#DC42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A99

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

Preview Lab → · Contrast checker → · Palette generator →

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