#231B84#231B84

#231B84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.165 H 275.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#231B84
RGBrgb(35, 27, 132)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(73.5%, 79.5%, 0%, 48.2%)
CIE-LABlab(19.25, 38.45, -56.74)
CIE-LCHlch(19.25, 68.54, 304.13°)
OKLaboklab(32.07% 0.0148 -0.1641)
OKLCHoklch(32.07% 0.165 275.2)
XYZxyz(5.2486, 2.8066, 22.0905)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B84 #7C841B
analogous
#1B4784 #231B84 #571B84
triadic
#231B84 #84231B #1B8423
tetradic
#231B84 #841B47 #7C841B #1B8457
square
#231B84 #841B47 #7C841B #1B8457
split-complementary
#231B84 #84571B #47841B
monochromatic
#08061E #161151 #231B84 #3025B7 #4D41D8

Accessibility & contrast

On white

13.45
#231B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B84
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B84#FFFFFF#000000##FFFFFF
##231B841.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231b84;
/* rgb */ color: rgb(35, 27, 132);
/* oklch */ color: oklch(32.1% 0.165 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f5aa9',
    500: '#231b84',
    950: '#000000',
  },
}
SCSS
$custom: #231b84;
$custom-light: #6f5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#231b84",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 244.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32068,
    "c": 0.16474,
    "h": 275.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#231B84
secondary
#AFB743
accent
#E93FDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231B84

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

Preview Lab → · Contrast checker → · Palette generator →

#231B84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva