#231B6D#231B6D

#231B6D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.135 H 278.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#231B6D
RGBrgb(35, 27, 109)
HSLhsl(246, 60%, 27%)
HSVhsv(246, 75%, 43%)
CMYKcmyk(67.9%, 75.2%, 0%, 57.3%)
CIE-LABlab(16.72, 30.58, -46.17)
CIE-LCHlch(16.72, 55.38, 303.52°)
OKLaboklab(29.53% 0.0201 -0.1333)
OKLCHoklch(29.53% 0.135 278.6)
XYZxyz(3.8445, 2.2450, 14.6958)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B6D #656D1B
analogous
#1B3C6D #231B6D #4C1B6D
triadic
#231B6D #6D231B #1B6D23
tetradic
#231B6D #6D1B3C #656D1B #1B6D4C
square
#231B6D #6D1B3C #656D1B #1B6D4C
split-complementary
#231B6D #6D4C1B #3C6D1B
monochromatic
#080619 #130F3C #231B6D #33279E #4435CD

Accessibility & contrast

On white

14.49
#231B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B6D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B6D#FFFFFF#000000##FFFFFF
##231B6D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231b6d;
/* rgb */ color: rgb(35, 27, 109);
/* oklch */ color: oklch(29.5% 0.135 278.6);
Tailwind
colors: {
  custom: {
    50: '#695898',
    500: '#231b6d',
    950: '#000000',
  },
}
SCSS
$custom: #231b6d;
$custom-light: #695898;
$custom-dark: #000000;
JSON
{
  "hex": "#231b6d",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 245.854,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.13477,
    "h": 278.6
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#231B6D
secondary
#99A242
accent
#E344D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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