#231C72#231C72

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

Color values

HEX#231C72
RGBrgb(35, 28, 114)
HSLhsl(245, 61%, 28%)
HSVhsv(245, 75%, 45%)
CMYKcmyk(69.3%, 75.4%, 0%, 55.3%)
CIE-LABlab(17.47, 31.72, -48.18)
CIE-LCHlch(17.47, 57.69, 303.35°)
OKLaboklab(30.22% 0.0183 -0.1392)
OKLCHoklch(30.22% 0.14 277.5)
XYZxyz(4.1447, 2.4024, 16.1616)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C72 #6B721C
analogous
#1C4072 #231C72 #4E1C72
triadic
#231C72 #72231C #1C7223
tetradic
#231C72 #721C40 #6B721C #1C724E
square
#231C72 #721C40 #6B721C #1C724E
split-complementary
#231C72 #724E1C #40721C
monochromatic
#080619 #141041 #231C72 #3228A3 #463ACF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231C72#FFFFFF#000000##FFFFFF
##231C721.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)
#002E75
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231c72;
/* rgb */ color: rgb(35, 28, 114);
/* oklch */ color: oklch(30.2% 0.140 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a599b',
    500: '#231c72',
    950: '#000000',
  },
}
SCSS
$custom: #231c72;
$custom-light: #6a599b;
$custom-dark: #000000;
JSON
{
  "hex": "#231c72",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 244.884,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.14036,
    "h": 277.5
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#231C72
secondary
#9EA643
accent
#E444D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231C72

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

Preview Lab → · Contrast checker → · Palette generator →

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