#231D79#231D79

#231D79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.149 H 276.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#231D79
RGBrgb(35, 29, 121)
HSLhsl(244, 61%, 29%)
HSVhsv(244, 76%, 47%)
CMYKcmyk(71.1%, 76%, 0%, 52.5%)
CIE-LABlab(18.44, 33.55, -51.10)
CIE-LCHlch(18.44, 61.13, 303.29°)
OKLaboklab(31.13% 0.0162 -0.1477)
OKLCHoklch(31.13% 0.149 276.3)
XYZxyz(4.5826, 2.6161, 18.3489)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D79 #73791D
analogous
#1D4579 #231D79 #511D79
triadic
#231D79 #79231D #1D7923
tetradic
#231D79 #791D45 #73791D #1D7951
square
#231D79 #791D45 #73791D #1D7951
split-complementary
#231D79 #79511D #45791D
monochromatic
#070619 #151148 #231D79 #3129AA #493FD1

Accessibility & contrast

On white

13.78
#231D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D79
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D79#FFFFFF#000000##FFFFFF
##231D791.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231d79;
/* rgb */ color: rgb(35, 29, 121);
/* oklch */ color: oklch(31.1% 0.149 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aa1',
    500: '#231d79',
    950: '#000000',
  },
}
SCSS
$custom: #231d79;
$custom-light: #6c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#231d79",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 243.913,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.14855,
    "h": 276.3
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#231D79
secondary
#A6AD45
accent
#E443DA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #231D79

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

Preview Lab → · Contrast checker → · Palette generator →

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