#231D70#231D70

#231D70 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.137 H 277.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#231D70
RGBrgb(35, 29, 112)
HSLhsl(244, 59%, 28%)
HSVhsv(244, 74%, 44%)
CMYKcmyk(68.8%, 74.1%, 0%, 56.1%)
CIE-LABlab(17.49, 30.39, -46.87)
CIE-LCHlch(17.49, 55.86, 302.96°)
OKLaboklab(30.16% 0.018 -0.1353)
OKLCHoklch(30.16% 0.137 277.6)
XYZxyz(4.0562, 2.4056, 15.5767)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D70 #6A701D
analogous
#1D4170 #231D70 #4C1D70
triadic
#231D70 #70231D #1D7023
tetradic
#231D70 #701D41 #6A701D #1D704C
square
#231D70 #701D41 #6A701D #1D704C
split-complementary
#231D70 #704C1D #41701D
monochromatic
#080618 #14103F #231D70 #322AA1 #463BCC

Accessibility & contrast

On white

14.18
#231D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D70
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D70#FFFFFF#000000##FFFFFF
##231D701.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231d70;
/* rgb */ color: rgb(35, 29, 112);
/* oklch */ color: oklch(30.2% 0.137 277.6);
Tailwind
colors: {
  custom: {
    50: '#695a9a',
    500: '#231d70',
    950: '#000000',
  },
}
SCSS
$custom: #231d70;
$custom-light: #695a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#231d70",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 244.337,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30164,
    "c": 0.1365,
    "h": 277.6
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#231D70
secondary
#9DA444
accent
#E246D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D70

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

Preview Lab → · Contrast checker → · Palette generator →

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