#231D66#231D66

#231D66 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.123 H 279.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#231D66
RGBrgb(35, 29, 102)
HSLhsl(245, 56%, 26%)
HSVhsv(245, 72%, 40%)
CMYKcmyk(65.7%, 71.6%, 0%, 60%)
CIE-LABlab(16.48, 26.82, -41.99)
CIE-LCHlch(16.48, 49.83, 302.57°)
OKLaboklab(29.13% 0.0197 -0.121)
OKLCHoklch(29.13% 0.123 279.2)
XYZxyz(3.5300, 2.1951, 12.8055)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D66 #60661D
analogous
#1D3B66 #231D66 #471D66
triadic
#231D66 #66231D #1D6623
tetradic
#231D66 #661D3B #60661D #1D6647
square
#231D66 #661D3B #60661D #1D6647
split-complementary
#231D66 #66471D #3B661D
monochromatic
#080718 #130F36 #231D66 #332B96 #4438C5

Accessibility & contrast

On white

14.59
#231D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D66
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D66#FFFFFF#000000##FFFFFF
##231D661.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231d66;
/* rgb */ color: rgb(35, 29, 102);
/* oklch */ color: oklch(29.1% 0.123 279.2);
Tailwind
colors: {
  custom: {
    50: '#675992',
    500: '#231d66',
    950: '#000000',
  },
}
SCSS
$custom: #231d66;
$custom-light: #675992;
$custom-dark: #000000;
JSON
{
  "hex": "#231d66",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 244.932,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29134,
    "c": 0.12262,
    "h": 279.2
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#231D66
secondary
#949B44
accent
#DF49D3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231D66

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

Preview Lab → · Contrast checker → · Palette generator →

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