#231D77#231D77

#231D77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.146 H 276.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#231D77
RGBrgb(35, 29, 119)
HSLhsl(244, 61%, 29%)
HSVhsv(244, 76%, 47%)
CMYKcmyk(70.6%, 75.6%, 0%, 53.3%)
CIE-LABlab(18.22, 32.85, -50.17)
CIE-LCHlch(18.22, 59.97, 303.22°)
OKLaboklab(30.91% 0.0166 -0.145)
OKLCHoklch(30.91% 0.146 276.5)
XYZxyz(4.4612, 2.5676, 17.7097)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D77 #71771D
analogous
#1D4477 #231D77 #501D77
triadic
#231D77 #77231D #1D7723
tetradic
#231D77 #771D44 #71771D #1D7750
square
#231D77 #771D44 #71771D #1D7750
split-complementary
#231D77 #77501D #44771D
monochromatic
#070619 #151146 #231D77 #3129A8 #483ED0

Accessibility & contrast

On white

13.87
#231D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D77
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D77#FFFFFF#000000##FFFFFF
##231D771.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231d77;
/* rgb */ color: rgb(35, 29, 119);
/* oklch */ color: oklch(30.9% 0.146 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b5a9f',
    500: '#231d77',
    950: '#000000',
  },
}
SCSS
$custom: #231d77;
$custom-light: #6b5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#231d77",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 244,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30911,
    "c": 0.14591,
    "h": 276.5
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#231D77
secondary
#A4AB45
accent
#E444D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #231D77

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

Preview Lab → · Contrast checker → · Palette generator →

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