#232D91#232D91

#232D91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.162 H 271.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#232D91
RGBrgb(35, 45, 145)
HSLhsl(235, 61%, 35%)
HSVhsv(235, 76%, 57%)
CMYKcmyk(75.9%, 69%, 0%, 43.1%)
CIE-LABlab(24.57, 32.10, -56.10)
CIE-LCHlch(24.57, 64.63, 299.78°)
OKLaboklab(36.28% 0.0028 -0.1623)
OKLCHoklch(36.28% 0.162 271)
XYZxyz(6.7406, 4.2777, 27.2530)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D91 #918723
analogous
#236491 #232D91 #502391
triadic
#232D91 #91232D #2D9123
tetradic
#232D91 #912364 #918723 #239150
square
#232D91 #912364 #918723 #239150
split-complementary
#232D91 #915023 #649123
monochromatic
#0B0E2E #171E60 #232D91 #2F3CC2 #5863D7

Accessibility & contrast

On white

11.32
#232D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#232D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D91
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D91#FFFFFF#000000##FFFFFF
##232D911.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232d91;
/* rgb */ color: rgb(35, 45, 145);
/* oklch */ color: oklch(36.3% 0.162 271.0);
Tailwind
colors: {
  custom: {
    50: '#7066b2',
    500: '#232d91',
    950: '#000000',
  },
}
SCSS
$custom: #232d91;
$custom-light: #7066b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232d91",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 234.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.16229,
    "h": 271
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#232D91
secondary
#BBB255
accent
#D644E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #232D91

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

Preview Lab → · Contrast checker → · Palette generator →

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