#231D74#231D74

#231D74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.142 H 277.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#231D74
RGBrgb(35, 29, 116)
HSLhsl(244, 60%, 28%)
HSVhsv(244, 75%, 45%)
CMYKcmyk(69.8%, 75%, 0%, 54.5%)
CIE-LABlab(17.90, 31.80, -48.77)
CIE-LCHlch(17.90, 58.22, 303.11°)
OKLaboklab(30.59% 0.0172 -0.1408)
OKLCHoklch(30.59% 0.142 277)
XYZxyz(4.2839, 2.4966, 16.7758)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D74 #6E741D
analogous
#1D4274 #231D74 #4E1D74
triadic
#231D74 #74231D #1D7423
tetradic
#231D74 #741D42 #6E741D #1D744E
square
#231D74 #741D42 #6E741D #1D744E
split-complementary
#231D74 #744E1D #42741D
monochromatic
#070618 #141143 #231D74 #3229A5 #473DCE

Accessibility & contrast

On white

14.01
#231D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D74
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D74#FFFFFF#000000##FFFFFF
##231D741.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231d74;
/* rgb */ color: rgb(35, 29, 116);
/* oklch */ color: oklch(30.6% 0.142 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a5a9d',
    500: '#231d74',
    950: '#000000',
  },
}
SCSS
$custom: #231d74;
$custom-light: #6a5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#231d74",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 244.138,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.1419,
    "h": 277
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#231D74
secondary
#A1A845
accent
#E345D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D74

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

Preview Lab → · Contrast checker → · Palette generator →

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