#231D6C#231D6C

#231D6C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.131 H 278.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#231D6C
RGBrgb(35, 29, 108)
HSLhsl(245, 58%, 27%)
HSVhsv(245, 73%, 42%)
CMYKcmyk(67.6%, 73.1%, 0%, 57.6%)
CIE-LABlab(17.08, 28.97, -44.94)
CIE-LCHlch(17.08, 53.47, 302.81°)
OKLaboklab(29.75% 0.0187 -0.1297)
OKLCHoklch(29.75% 0.131 278.2)
XYZxyz(3.8384, 2.3185, 14.4297)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D6C #666C1D
analogous
#1D3F6C #231D6C #4B1D6C
triadic
#231D6C #6C231D #1D6C23
tetradic
#231D6C #6C1D3F #666C1D #1D6C4B
square
#231D6C #6C1D3F #666C1D #1D6C4B
split-complementary
#231D6C #6C4B1D #3F6C1D
monochromatic
#080618 #13103C #231D6C #332A9C #4439CA

Accessibility & contrast

On white

14.35
#231D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D6C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D6C#FFFFFF#000000##FFFFFF
##231D6C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231d6c;
/* rgb */ color: rgb(35, 29, 108);
/* oklch */ color: oklch(29.7% 0.131 278.2);
Tailwind
colors: {
  custom: {
    50: '#695a97',
    500: '#231d6c',
    950: '#000000',
  },
}
SCSS
$custom: #231d6c;
$custom-light: #695a97;
$custom-dark: #000000;
JSON
{
  "hex": "#231d6c",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 244.557,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.13102,
    "h": 278.2
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#231D6C
secondary
#9AA144
accent
#E147D5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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