#231C71#231C71

#231C71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.139 H 277.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#231C71
RGBrgb(35, 28, 113)
HSLhsl(245, 60%, 28%)
HSVhsv(245, 75%, 44%)
CMYKcmyk(69%, 75.2%, 0%, 55.7%)
CIE-LABlab(17.37, 31.37, -47.71)
CIE-LCHlch(17.37, 57.10, 303.32°)
OKLaboklab(30.11% 0.0186 -0.1378)
OKLCHoklch(30.11% 0.139 277.7)
XYZxyz(4.0881, 2.3797, 15.8635)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C71 #6A711C
analogous
#1C4071 #231C71 #4D1C71
triadic
#231C71 #71231C #1C7123
tetradic
#231C71 #711C40 #6A711C #1C714D
square
#231C71 #711C40 #6A711C #1C714D
split-complementary
#231C71 #714D1C #40711C
monochromatic
#080619 #141040 #231C71 #3228A2 #4639CE

Accessibility & contrast

On white

14.23
#231C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C71
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C71#FFFFFF#000000##FFFFFF
##231C711.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231c71;
/* rgb */ color: rgb(35, 28, 113);
/* oklch */ color: oklch(30.1% 0.139 277.7);
Tailwind
colors: {
  custom: {
    50: '#6a599b',
    500: '#231c71',
    950: '#000000',
  },
}
SCSS
$custom: #231c71;
$custom-light: #6a599b;
$custom-dark: #000000;
JSON
{
  "hex": "#231c71",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 244.941,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.13901,
    "h": 277.7
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#231C71
secondary
#9DA643
accent
#E344D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231C71

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

Preview Lab → · Contrast checker → · Palette generator →

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