#231B6A#231B6A

#231B6A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.131 H 279.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#231B6A
RGBrgb(35, 27, 106)
HSLhsl(246, 59%, 26%)
HSVhsv(246, 75%, 42%)
CMYKcmyk(67%, 74.5%, 0%, 58.4%)
CIE-LABlab(16.41, 29.53, -44.72)
CIE-LCHlch(16.41, 53.59, 303.44°)
OKLaboklab(29.21% 0.0207 -0.129)
OKLCHoklch(29.21% 0.131 279.1)
XYZxyz(3.6858, 2.1815, 13.8597)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B6A #626A1B
analogous
#1B3A6A #231B6A #4A1B6A
triadic
#231B6A #6A231B #1B6A23
tetradic
#231B6A #6A1B3A #626A1B #1B6A4A
square
#231B6A #6A1B3A #626A1B #1B6A4A
split-complementary
#231B6A #6A4A1B #3A6A1B
monochromatic
#080618 #130F39 #231B6A #33279B #4334CB

Accessibility & contrast

On white

14.62
#231B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B6A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B6A#FFFFFF#000000##FFFFFF
##231B6A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231b6a;
/* rgb */ color: rgb(35, 27, 106);
/* oklch */ color: oklch(29.2% 0.131 279.1);
Tailwind
colors: {
  custom: {
    50: '#685895',
    500: '#231b6a',
    950: '#000000',
  },
}
SCSS
$custom: #231b6a;
$custom-light: #685895;
$custom-dark: #000000;
JSON
{
  "hex": "#231b6a",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 246.076,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29209,
    "c": 0.13069,
    "h": 279.1
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#231B6A
secondary
#969F42
accent
#E345D3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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