#232891#232891

#232891 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.168 H 271.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#232891
RGBrgb(35, 40, 145)
HSLhsl(237, 61%, 35%)
HSVhsv(237, 76%, 57%)
CMYKcmyk(75.9%, 72.4%, 0%, 43.1%)
CIE-LABlab(23.40, 35.28, -58.02)
CIE-LCHlch(23.40, 67.90, 301.30°)
OKLaboklab(35.43% 0.0056 -0.1679)
OKLCHoklch(35.43% 0.168 271.9)
XYZxyz(6.5610, 3.9186, 27.1931)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232891 #918C23
analogous
#235F91 #232891 #552391
triadic
#232891 #912328 #289123
tetradic
#232891 #91235F #918C23 #239155
square
#232891 #91235F #918C23 #239155
split-complementary
#232891 #915523 #5F9123
monochromatic
#0B0D2E #171A60 #232891 #2F36C2 #585ED7

Accessibility & contrast

On white

11.77
#232891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232891
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232891#FFFFFF#000000##FFFFFF
##2328911.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232891;
/* rgb */ color: rgb(35, 40, 145);
/* oklch */ color: oklch(35.4% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#7163b2',
    500: '#232891',
    950: '#000000',
  },
}
SCSS
$custom: #232891;
$custom-light: #7163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232891",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 237.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.16799,
    "h": 271.9
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#232891
secondary
#BBB655
accent
#DD44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232891

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

Preview Lab → · Contrast checker → · Palette generator →

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