#231C76#231C76

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

Color values

HEX#231C76
RGBrgb(35, 28, 118)
HSLhsl(245, 62%, 29%)
HSVhsv(245, 76%, 46%)
CMYKcmyk(70.3%, 76.3%, 0%, 53.7%)
CIE-LABlab(17.90, 33.11, -50.06)
CIE-LCHlch(17.90, 60.02, 303.48°)
OKLaboklab(30.65% 0.0175 -0.1446)
OKLCHoklch(30.65% 0.146 276.9)
XYZxyz(4.3773, 2.4955, 17.3870)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C76 #6F761C
analogous
#1C4276 #231C76 #501C76
triadic
#231C76 #76231C #1C7623
tetradic
#231C76 #761C42 #6F761C #1C7650
square
#231C76 #761C42 #6F761C #1C7650
split-complementary
#231C76 #76501C #42761C
monochromatic
#070619 #141045 #231C76 #3228A7 #473CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231C76#FFFFFF#000000##FFFFFF
##231C761.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)
#003079
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231c76;
/* rgb */ color: rgb(35, 28, 118);
/* oklch */ color: oklch(30.6% 0.146 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b5a9e',
    500: '#231c76',
    950: '#000000',
  },
}
SCSS
$custom: #231c76;
$custom-light: #6b5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#231c76",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 244.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.14568,
    "h": 276.9
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#231C76
secondary
#A2AA44
accent
#E543D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #231C76

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

Preview Lab → · Contrast checker → · Palette generator →

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