#231D68#231D68

#231D68 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.125 H 278.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#231D68
RGBrgb(35, 29, 104)
HSLhsl(245, 56%, 26%)
HSVhsv(245, 72%, 41%)
CMYKcmyk(66.3%, 72.1%, 0%, 59.2%)
CIE-LABlab(16.68, 27.54, -42.98)
CIE-LCHlch(16.68, 51.05, 302.65°)
OKLaboklab(29.34% 0.0194 -0.1239)
OKLCHoklch(29.34% 0.125 278.9)
XYZxyz(3.6304, 2.2352, 13.3342)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D68 #62681D
analogous
#1D3C68 #231D68 #481D68
triadic
#231D68 #68231D #1D6823
tetradic
#231D68 #681D3C #62681D #1D6848
square
#231D68 #681D3C #62681D #1D6848
split-complementary
#231D68 #68481D #3C681D
monochromatic
#080718 #131038 #231D68 #332A98 #4338C7

Accessibility & contrast

On white

14.51
#231D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D68
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D68#FFFFFF#000000##FFFFFF
##231D681.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231d68;
/* rgb */ color: rgb(35, 29, 104);
/* oklch */ color: oklch(29.3% 0.125 278.9);
Tailwind
colors: {
  custom: {
    50: '#685a94',
    500: '#231d68',
    950: '#000000',
  },
}
SCSS
$custom: #231d68;
$custom-light: #685a94;
$custom-dark: #000000;
JSON
{
  "hex": "#231d68",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 244.8,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29336,
    "c": 0.12545,
    "h": 278.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#231D68
secondary
#969D44
accent
#E048D4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231D68

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

Preview Lab → · Contrast checker → · Palette generator →

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