#232A91#232A91

#232A91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.166 H 271.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#232A91
RGBrgb(35, 42, 145)
HSLhsl(236, 61%, 35%)
HSVhsv(236, 76%, 57%)
CMYKcmyk(75.9%, 71%, 0%, 43.1%)
CIE-LABlab(23.86, 34.02, -57.26)
CIE-LCHlch(23.86, 66.61, 300.72°)
OKLaboklab(35.76% 0.0045 -0.1657)
OKLCHoklch(35.76% 0.166 271.6)
XYZxyz(6.6302, 4.0569, 27.2162)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A91 #918A23
analogous
#236191 #232A91 #532391
triadic
#232A91 #91232A #2A9123
tetradic
#232A91 #912361 #918A23 #239153
square
#232A91 #912361 #918A23 #239153
split-complementary
#232A91 #915323 #619123
monochromatic
#0B0D2E #171C60 #232A91 #2F38C2 #5860D7

Accessibility & contrast

On white

11.59
#232A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#232A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A91
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A91#FFFFFF#000000##FFFFFF
##232A911.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232a91;
/* rgb */ color: rgb(35, 42, 145);
/* oklch */ color: oklch(35.8% 0.166 271.6);
Tailwind
colors: {
  custom: {
    50: '#7064b2',
    500: '#232a91',
    950: '#000000',
  },
}
SCSS
$custom: #232a91;
$custom-light: #7064b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232a91",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 236.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.16575,
    "h": 271.6
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#232A91
secondary
#BBB455
accent
#DA44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A91

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

Preview Lab → · Contrast checker → · Palette generator →

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