#231C62#231C62

#231C62 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.118 H 280.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#231C62
RGBrgb(35, 28, 98)
HSLhsl(246, 56%, 25%)
HSVhsv(246, 71%, 38%)
CMYKcmyk(64.3%, 71.4%, 0%, 61.6%)
CIE-LABlab(15.85, 26.05, -40.38)
CIE-LCHlch(15.85, 48.05, 302.82°)
OKLaboklab(28.56% 0.0212 -0.1163)
OKLCHoklch(28.56% 0.118 280.3)
XYZxyz(3.3123, 2.0694, 11.7778)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C62 #5B621C
analogous
#1C3862 #231C62 #461C62
triadic
#231C62 #62231C #1C6223
tetradic
#231C62 #621C38 #5B621C #1C6246
square
#231C62 #621C38 #5B621C #1C6246
split-complementary
#231C62 #62461C #38621C
monochromatic
#080718 #120E32 #231C62 #342A92 #4537C1

Accessibility & contrast

On white

14.85
#231C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C62
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C62#FFFFFF#000000##FFFFFF
##231C621.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231c62;
/* rgb */ color: rgb(35, 28, 98);
/* oklch */ color: oklch(28.6% 0.118 280.3);
Tailwind
colors: {
  custom: {
    50: '#66598f',
    500: '#231c62',
    950: '#000000',
  },
}
SCSS
$custom: #231c62;
$custom-light: #66598f;
$custom-dark: #000000;
JSON
{
  "hex": "#231c62",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 246,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28558,
    "c": 0.11825,
    "h": 280.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#231C62
secondary
#8F9743
accent
#DF49D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231C62

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

Preview Lab → · Contrast checker → · Palette generator →

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