#231C6A#231C6A

#231C6A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.129 H 278.8°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#231C6A
RGBrgb(35, 28, 106)
HSLhsl(245, 58%, 26%)
HSVhsv(245, 74%, 42%)
CMYKcmyk(67%, 73.6%, 0%, 58.4%)
CIE-LABlab(16.64, 28.90, -44.35)
CIE-LCHlch(16.64, 52.93, 303.09°)
OKLaboklab(29.37% 0.0199 -0.1279)
OKLCHoklch(29.37% 0.129 278.8)
XYZxyz(3.7091, 2.2281, 13.8675)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C6A #636A1C
analogous
#1C3C6A #231C6A #4A1C6A
triadic
#231C6A #6A231C #1C6A23
tetradic
#231C6A #6A1C3C #636A1C #1C6A4A
square
#231C6A #6A1C3C #636A1C #1C6A4A
split-complementary
#231C6A #6A4A1C #3C6A1C
monochromatic
#080618 #130F3A #231C6A #33299A #4436CA

Accessibility & contrast

On white

14.53
#231C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C6A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C6A#FFFFFF#000000##FFFFFF
##231C6A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231c6a;
/* rgb */ color: rgb(35, 28, 106);
/* oklch */ color: oklch(29.4% 0.129 278.8);
Tailwind
colors: {
  custom: {
    50: '#685995',
    500: '#231c6a',
    950: '#000000',
  },
}
SCSS
$custom: #231c6a;
$custom-light: #685995;
$custom-dark: #000000;
JSON
{
  "hex": "#231c6a",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 245.385,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29373,
    "c": 0.12948,
    "h": 278.8
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#231C6A
secondary
#979F43
accent
#E146D4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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