#232A8E#232A8E

#232A8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.162 H 271.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#232A8E
RGBrgb(35, 42, 142)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 56%)
CMYKcmyk(75.4%, 70.4%, 0%, 44.3%)
CIE-LABlab(23.56, 32.93, -55.90)
CIE-LCHlch(23.56, 64.88, 300.50°)
OKLaboklab(35.46% 0.0049 -0.1617)
OKLCHoklch(35.46% 0.162 271.7)
XYZxyz(6.4019, 3.9656, 26.0140)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A8E #8E8723
analogous
#235F8E #232A8E #52238E
triadic
#232A8E #8E232A #2A8E23
tetradic
#232A8E #8E235F #8E8723 #238E52
square
#232A8E #8E235F #8E8723 #238E52
split-complementary
#232A8E #8E5223 #5F8E23
monochromatic
#0B0D2C #171B5D #232A8E #2F39BF #565ED5

Accessibility & contrast

On white

11.71
#232A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#232A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A8E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A8E#FFFFFF#000000##FFFFFF
##232A8E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232a8e;
/* rgb */ color: rgb(35, 42, 142);
/* oklch */ color: oklch(35.5% 0.162 271.7);
Tailwind
colors: {
  custom: {
    50: '#7064b0',
    500: '#232a8e',
    950: '#000000',
  },
}
SCSS
$custom: #232a8e;
$custom-light: #7064b0;
$custom-dark: #000000;
JSON
{
  "hex": "#232a8e",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 236.075,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.16178,
    "h": 271.7
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#232A8E
secondary
#B9B353
accent
#D944E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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