#231C6D#231C6D

#231C6D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.134 H 278.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#231C6D
RGBrgb(35, 28, 109)
HSLhsl(245, 59%, 27%)
HSVhsv(245, 74%, 43%)
CMYKcmyk(67.9%, 74.3%, 0%, 57.3%)
CIE-LABlab(16.95, 29.96, -45.80)
CIE-LCHlch(16.95, 54.73, 303.19°)
OKLaboklab(29.69% 0.0193 -0.1322)
OKLCHoklch(29.69% 0.134 278.3)
XYZxyz(3.8678, 2.2916, 14.7035)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C6D #666D1C
analogous
#1C3E6D #231C6D #4C1C6D
triadic
#231C6D #6D231C #1C6D23
tetradic
#231C6D #6D1C3E #666D1C #1C6D4C
square
#231C6D #6D1C3E #666D1C #1C6D4C
split-complementary
#231C6D #6D4C1C #3E6D1C
monochromatic
#080618 #130F3C #231C6D #33299E #4438CC

Accessibility & contrast

On white

14.40
#231C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C6D
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C6D#FFFFFF#000000##FFFFFF
##231C6D1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231c6d;
/* rgb */ color: rgb(35, 28, 109);
/* oklch */ color: oklch(29.7% 0.134 278.3);
Tailwind
colors: {
  custom: {
    50: '#695998',
    500: '#231c6d',
    950: '#000000',
  },
}
SCSS
$custom: #231c6d;
$custom-light: #695998;
$custom-dark: #000000;
JSON
{
  "hex": "#231c6d",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 245.185,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.1336,
    "h": 278.3
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#231C6D
secondary
#9AA243
accent
#E245D5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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