#232A9F#232A9F

#232A9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.184 H 270.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#232A9F
RGBrgb(35, 42, 159)
HSLhsl(237, 64%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(78%, 73.6%, 0%, 37.6%)
CIE-LABlab(25.31, 39.02, -63.47)
CIE-LCHlch(25.31, 74.50, 301.58°)
OKLaboklab(37.24% 0.0026 -0.1838)
OKLCHoklch(37.24% 0.184 270.8)
XYZxyz(7.7770, 4.5156, 33.2559)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A9F #9F9823
analogous
#23689F #232A9F #5A239F
triadic
#232A9F #9F232A #2A9F23
tetradic
#232A9F #9F2368 #9F9823 #239F5A
square
#232A9F #9F2368 #9F9823 #239F5A
split-complementary
#232A9F #9F5A23 #689F23
monochromatic
#0D103B #181D6D #232A9F #2E37D1 #6067DC

Accessibility & contrast

On white

11.03
#232A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#232A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A9F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A9F#FFFFFF#000000##FFFFFF
##232A9F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #232a9f;
/* rgb */ color: rgb(35, 42, 159);
/* oklch */ color: oklch(37.2% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#232a9f',
    950: '#000000',
  },
}
SCSS
$custom: #232a9f;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#232a9f",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 236.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.18379,
    "h": 270.8
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#232A9F
secondary
#C1BB5D
accent
#DE41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #232A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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