#232991#232991

#232991 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.167 H 271.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#232991
RGBrgb(35, 41, 145)
HSLhsl(237, 61%, 35%)
HSVhsv(237, 76%, 57%)
CMYKcmyk(75.9%, 71.7%, 0%, 43.1%)
CIE-LABlab(23.63, 34.65, -57.64)
CIE-LCHlch(23.63, 67.26, 301.01°)
OKLaboklab(35.6% 0.0051 -0.1668)
OKLCHoklch(35.6% 0.167 271.8)
XYZxyz(6.5952, 3.9868, 27.2045)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232991 #918B23
analogous
#236091 #232991 #542391
triadic
#232991 #912329 #299123
tetradic
#232991 #912360 #918B23 #239154
square
#232991 #912360 #918B23 #239154
split-complementary
#232991 #915423 #609123
monochromatic
#0B0D2E #171B60 #232991 #2F37C2 #585FD7

Accessibility & contrast

On white

11.68
#232991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232991
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232991#FFFFFF#000000##FFFFFF
##2329911.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232991;
/* rgb */ color: rgb(35, 41, 145);
/* oklch */ color: oklch(35.6% 0.167 271.8);
Tailwind
colors: {
  custom: {
    50: '#7063b2',
    500: '#232991',
    950: '#000000',
  },
}
SCSS
$custom: #232991;
$custom-light: #7063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232991",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 236.727,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.16688,
    "h": 271.8
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#232991
secondary
#BBB555
accent
#DB44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232991

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

Preview Lab → · Contrast checker → · Palette generator →

#232991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva