#231C6B#231C6B

#231C6B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.131 H 278.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#231C6B
RGBrgb(35, 28, 107)
HSLhsl(245, 59%, 26%)
HSVhsv(245, 74%, 42%)
CMYKcmyk(67.3%, 73.8%, 0%, 58%)
CIE-LABlab(16.74, 29.25, -44.83)
CIE-LCHlch(16.74, 53.53, 303.12°)
OKLaboklab(29.48% 0.0197 -0.1294)
OKLCHoklch(29.48% 0.131 278.7)
XYZxyz(3.7614, 2.2491, 14.1430)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C6B #646B1C
analogous
#1C3D6B #231C6B #4B1C6B
triadic
#231C6B #6B231C #1C6B23
tetradic
#231C6B #6B1C3D #646B1C #1C6B4B
square
#231C6B #6B1C3D #646B1C #1C6B4B
split-complementary
#231C6B #6B4B1C #3D6B1C
monochromatic
#080618 #130F3A #231C6B #33299C #4437CB

Accessibility & contrast

On white

14.48
#231C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C6B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C6B#FFFFFF#000000##FFFFFF
##231C6B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231c6b;
/* rgb */ color: rgb(35, 28, 107);
/* oklch */ color: oklch(29.5% 0.131 278.7);
Tailwind
colors: {
  custom: {
    50: '#685996',
    500: '#231c6b',
    950: '#000000',
  },
}
SCSS
$custom: #231c6b;
$custom-light: #685996;
$custom-dark: #000000;
JSON
{
  "hex": "#231c6b",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 245.316,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29477,
    "c": 0.13085,
    "h": 278.7
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#231C6B
secondary
#98A043
accent
#E246D4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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