#231D6B#231D6B

#231D6B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.130 H 278.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#231D6B
RGBrgb(35, 29, 107)
HSLhsl(245, 57%, 27%)
HSVhsv(245, 73%, 42%)
CMYKcmyk(67.3%, 72.9%, 0%, 58%)
CIE-LABlab(16.98, 28.61, -44.45)
CIE-LCHlch(16.98, 52.87, 302.77°)
OKLaboklab(29.64% 0.0189 -0.1282)
OKLCHoklch(29.64% 0.13 278.4)
XYZxyz(3.7855, 2.2973, 14.1510)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D6B #656B1D
analogous
#1D3E6B #231D6B #4A1D6B
triadic
#231D6B #6B231D #1D6B23
tetradic
#231D6B #6B1D3E #656B1D #1D6B4A
square
#231D6B #6B1D3E #656B1D #1D6B4A
split-complementary
#231D6B #6B4A1D #3E6B1D
monochromatic
#080718 #13103B #231D6B #332A9B #4439C9

Accessibility & contrast

On white

14.39
#231D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D6B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D6B#FFFFFF#000000##FFFFFF
##231D6B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231d6b;
/* rgb */ color: rgb(35, 29, 107);
/* oklch */ color: oklch(29.6% 0.130 278.4);
Tailwind
colors: {
  custom: {
    50: '#685a96',
    500: '#231d6b',
    950: '#000000',
  },
}
SCSS
$custom: #231d6b;
$custom-light: #685a96;
$custom-dark: #000000;
JSON
{
  "hex": "#231d6b",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 244.615,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.12964,
    "h": 278.4
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#231D6B
secondary
#99A044
accent
#E147D5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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