#231D6F#231D6F

#231D6F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.135 H 277.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#231D6F
RGBrgb(35, 29, 111)
HSLhsl(244, 59%, 27%)
HSVhsv(244, 74%, 44%)
CMYKcmyk(68.5%, 73.9%, 0%, 56.5%)
CIE-LABlab(17.38, 30.04, -46.39)
CIE-LCHlch(17.38, 55.26, 302.92°)
OKLaboklab(30.06% 0.0182 -0.1339)
OKLCHoklch(30.06% 0.135 277.7)
XYZxyz(4.0008, 2.3834, 15.2851)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D6F #696F1D
analogous
#1D406F #231D6F #4C1D6F
triadic
#231D6F #6F231D #1D6F23
tetradic
#231D6F #6F1D40 #696F1D #1D6F4C
square
#231D6F #6F1D40 #696F1D #1D6F4C
split-complementary
#231D6F #6F4C1D #406F1D
monochromatic
#080618 #14103E #231D6F #322AA0 #453BCC

Accessibility & contrast

On white

14.22
#231D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#231D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D6F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D6F#FFFFFF#000000##FFFFFF
##231D6F1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231d6f;
/* rgb */ color: rgb(35, 29, 111);
/* oklch */ color: oklch(30.1% 0.135 277.7);
Tailwind
colors: {
  custom: {
    50: '#695a99',
    500: '#231d6f',
    950: '#000000',
  },
}
SCSS
$custom: #231d6f;
$custom-light: #695a99;
$custom-dark: #000000;
JSON
{
  "hex": "#231d6f",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 244.39,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30059,
    "c": 0.13514,
    "h": 277.7
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#231D6F
secondary
#9CA344
accent
#E246D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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