#232A96#232A96

#232A96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.172 H 271.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#232A96
RGBrgb(35, 42, 150)
HSLhsl(236, 62%, 36%)
HSVhsv(236, 77%, 59%)
CMYKcmyk(76.7%, 72%, 0%, 41.2%)
CIE-LABlab(24.37, 35.82, -59.51)
CIE-LCHlch(24.37, 69.46, 301.05°)
OKLaboklab(36.29% 0.0039 -0.1722)
OKLCHoklch(36.29% 0.172 271.3)
XYZxyz(7.0243, 4.2145, 29.2915)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A96 #968F23
analogous
#236496 #232A96 #562396
triadic
#232A96 #96232A #2A9623
tetradic
#232A96 #962364 #968F23 #239656
square
#232A96 #962364 #968F23 #239656
split-complementary
#232A96 #965623 #649623
monochromatic
#0C0E33 #171C64 #232A96 #2F38C8 #5B62D9

Accessibility & contrast

On white

11.39
#232A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#232A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A96
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A96#FFFFFF#000000##FFFFFF
##232A961.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232a96;
/* rgb */ color: rgb(35, 42, 150);
/* oklch */ color: oklch(36.3% 0.172 271.3);
Tailwind
colors: {
  custom: {
    50: '#7264b6',
    500: '#232a96',
    950: '#000000',
  },
}
SCSS
$custom: #232a96;
$custom-light: #7264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#232a96",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 236.348,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.17228,
    "h": 271.3
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

primary
#232A96
secondary
#BDB758
accent
#DB43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A96

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

Preview Lab → · Contrast checker → · Palette generator →

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