#231C8C#231C8C

#231C8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.174 H 274.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#231C8C
RGBrgb(35, 28, 140)
HSLhsl(244, 67%, 33%)
HSVhsv(244, 80%, 55%)
CMYKcmyk(75%, 80%, 0%, 45.1%)
CIE-LABlab(20.36, 40.56, -59.92)
CIE-LCHlch(20.36, 72.36, 304.09°)
OKLaboklab(33.12% 0.0124 -0.1733)
OKLCHoklch(33.12% 0.174 274.1)
XYZxyz(5.8404, 3.0807, 25.0927)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C8C #858C1C
analogous
#1C4D8C #231C8C #5B1C8C
triadic
#231C8C #8C231C #1C8C23
tetradic
#231C8C #8C1C4D #858C1C #1C8C5B
square
#231C8C #8C1C4D #858C1C #1C8C5B
split-complementary
#231C8C #8C5B1C #4D8C1C
monochromatic
#090826 #161259 #231C8C #3026BF #5148DA

Accessibility & contrast

On white

12.99
#231C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C8C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C8C#FFFFFF#000000##FFFFFF
##231C8C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231c8c;
/* rgb */ color: rgb(35, 28, 140);
/* oklch */ color: oklch(33.1% 0.174 274.1);
Tailwind
colors: {
  custom: {
    50: '#705baf',
    500: '#231c8c',
    950: '#000000',
  },
}
SCSS
$custom: #231c8c;
$custom-light: #705baf;
$custom-dark: #000000;
JSON
{
  "hex": "#231c8c",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 243.75,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.17377,
    "h": 274.1
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#231C8C
secondary
#B5BC48
accent
#EA3EDF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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