#232A8C#232A8C

#232A8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.159 H 271.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#232A8C
RGBrgb(35, 42, 140)
HSLhsl(236, 60%, 34%)
HSVhsv(236, 75%, 55%)
CMYKcmyk(75%, 70%, 0%, 45.1%)
CIE-LABlab(23.36, 32.20, -54.98)
CIE-LCHlch(23.36, 63.72, 300.35°)
OKLaboklab(35.25% 0.0051 -0.159)
OKLCHoklch(35.25% 0.159 271.9)
XYZxyz(6.2531, 3.9061, 25.2303)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A8C #8C8523
analogous
#235F8C #232A8C #51238C
triadic
#232A8C #8C232A #2A8C23
tetradic
#232A8C #8C235F #8C8523 #238C51
square
#232A8C #8C235F #8C8523 #238C51
split-complementary
#232A8C #8C5123 #5F8C23
monochromatic
#0B0D2A #171B5B #232A8C #2F39BD #555DD4

Accessibility & contrast

On white

11.79
#232A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A8C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A8C#FFFFFF#000000##FFFFFF
##232A8C1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232a8c;
/* rgb */ color: rgb(35, 42, 140);
/* oklch */ color: oklch(35.3% 0.159 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f64af',
    500: '#232a8c',
    950: '#000000',
  },
}
SCSS
$custom: #232a8c;
$custom-light: #6f64af;
$custom-dark: #000000;
JSON
{
  "hex": "#232a8c",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 236,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35251,
    "c": 0.15911,
    "h": 271.9
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#232A8C
secondary
#B8B252
accent
#D945E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #232A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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