#231B6B#231B6B

#231B6B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.132 H 278.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#231B6B
RGBrgb(35, 27, 107)
HSLhsl(246, 60%, 26%)
HSVhsv(246, 75%, 42%)
CMYKcmyk(67.3%, 74.8%, 0%, 58%)
CIE-LABlab(16.52, 29.88, -45.21)
CIE-LCHlch(16.52, 54.19, 303.47°)
OKLaboklab(29.31% 0.0205 -0.1304)
OKLCHoklch(29.31% 0.132 278.9)
XYZxyz(3.7381, 2.2024, 14.1352)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B6B #636B1B
analogous
#1B3B6B #231B6B #4B1B6B
triadic
#231B6B #6B231B #1B6B23
tetradic
#231B6B #6B1B3B #636B1B #1B6B4B
square
#231B6B #6B1B3B #636B1B #1B6B4B
split-complementary
#231B6B #6B4B1B #3B6B1B
monochromatic
#080618 #130F3A #231B6B #33279C #4435CC

Accessibility & contrast

On white

14.58
#231B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B6B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B6B#FFFFFF#000000##FFFFFF
##231B6B1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231b6b;
/* rgb */ color: rgb(35, 27, 107);
/* oklch */ color: oklch(29.3% 0.132 278.9);
Tailwind
colors: {
  custom: {
    50: '#685896',
    500: '#231b6b',
    950: '#000000',
  },
}
SCSS
$custom: #231b6b;
$custom-light: #685896;
$custom-dark: #000000;
JSON
{
  "hex": "#231b6b",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 246,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29314,
    "c": 0.13205,
    "h": 278.9
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#231B6B
secondary
#97A042
accent
#E345D3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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