#231C66#231C66

#231C66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.124 H 279.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#231C66
RGBrgb(35, 28, 102)
HSLhsl(246, 57%, 25%)
HSVhsv(246, 73%, 40%)
CMYKcmyk(65.7%, 72.5%, 0%, 60%)
CIE-LABlab(16.24, 27.47, -42.38)
CIE-LCHlch(16.24, 50.51, 302.95°)
OKLaboklab(28.96% 0.0206 -0.1222)
OKLCHoklch(28.96% 0.124 279.6)
XYZxyz(3.5059, 2.1469, 12.7974)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C66 #5F661C
analogous
#1C3A66 #231C66 #481C66
triadic
#231C66 #66231C #1C6623
tetradic
#231C66 #661C3A #5F661C #1C6648
square
#231C66 #661C3A #5F661C #1C6648
split-complementary
#231C66 #66481C #3A661C
monochromatic
#080718 #130F36 #231C66 #332996 #4436C6

Accessibility & contrast

On white

14.69
#231C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C66
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C66#FFFFFF#000000##FFFFFF
##231C661.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231c66;
/* rgb */ color: rgb(35, 28, 102);
/* oklch */ color: oklch(29.0% 0.124 279.6);
Tailwind
colors: {
  custom: {
    50: '#675992',
    500: '#231c66',
    950: '#000000',
  },
}
SCSS
$custom: #231c66;
$custom-light: #675992;
$custom-dark: #000000;
JSON
{
  "hex": "#231c66",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 245.676,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.1239,
    "h": 279.6
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#231C66
secondary
#939B43
accent
#E048D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C66

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

Preview Lab → · Contrast checker → · Palette generator →

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