#232A9D#232A9D

#232A9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.181 H 270.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#232A9D
RGBrgb(35, 42, 157)
HSLhsl(237, 64%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(77.7%, 73.2%, 0%, 38.4%)
CIE-LABlab(25.10, 38.31, -62.60)
CIE-LCHlch(25.10, 73.39, 301.47°)
OKLaboklab(37.03% 0.0029 -0.1812)
OKLCHoklch(37.03% 0.181 270.9)
XYZxyz(7.6048, 4.4467, 32.3493)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A9D #9D9623
analogous
#23679D #232A9D #59239D
triadic
#232A9D #9D232A #2A9D23
tetradic
#232A9D #9D2367 #9D9623 #239D59
square
#232A9D #9D2367 #9D9623 #239D59
split-complementary
#232A9D #9D5923 #679D23
monochromatic
#0D0F39 #181D6B #232A9D #2E37CF #5F66DB

Accessibility & contrast

On white

11.11
#232A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#232A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A9D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A9D#FFFFFF#000000##FFFFFF
##232A9D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #232a9d;
/* rgb */ color: rgb(35, 42, 157);
/* oklch */ color: oklch(37.0% 0.181 270.9);
Tailwind
colors: {
  custom: {
    50: '#7364bb',
    500: '#232a9d',
    950: '#000000',
  },
}
SCSS
$custom: #232a9d;
$custom-light: #7364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#232a9d",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 236.557,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.18126,
    "h": 270.9
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#232A9D
secondary
#C0BA5C
accent
#DD41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #232A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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