#231B85#231B85

#231B85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.166 H 275.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#231B85
RGBrgb(35, 27, 133)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(73.7%, 79.7%, 0%, 47.8%)
CIE-LABlab(19.37, 38.79, -57.18)
CIE-LCHlch(19.37, 69.09, 304.15°)
OKLaboklab(32.18% 0.0146 -0.1654)
OKLCHoklch(32.18% 0.166 275)
XYZxyz(5.3173, 2.8341, 22.4526)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B85 #7D851B
analogous
#1B4885 #231B85 #581B85
triadic
#231B85 #85231B #1B8523
tetradic
#231B85 #851B48 #7D851B #1B8558
square
#231B85 #851B48 #7D851B #1B8558
split-complementary
#231B85 #85581B #48851B
monochromatic
#08061F #161152 #231B85 #3025B8 #4D42D9

Accessibility & contrast

On white

13.40
#231B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B85
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B85#FFFFFF#000000##FFFFFF
##231B851.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231b85;
/* rgb */ color: rgb(35, 27, 133);
/* oklch */ color: oklch(32.2% 0.166 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f5aaa',
    500: '#231b85',
    950: '#000000',
  },
}
SCSS
$custom: #231b85;
$custom-light: #6f5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#231b85",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 244.528,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32182,
    "c": 0.166,
    "h": 275
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B85

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

Preview Lab → · Contrast checker → · Palette generator →

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