#231C6E#231C6E

#231C6E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.135 H 278.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#231C6E
RGBrgb(35, 28, 110)
HSLhsl(245, 59%, 27%)
HSVhsv(245, 75%, 43%)
CMYKcmyk(68.2%, 74.5%, 0%, 56.9%)
CIE-LABlab(17.05, 30.31, -46.28)
CIE-LCHlch(17.05, 55.32, 303.22°)
OKLaboklab(29.79% 0.0191 -0.1336)
OKLCHoklch(29.79% 0.135 278.2)
XYZxyz(3.9220, 2.3133, 14.9887)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C6E #676E1C
analogous
#1C3E6E #231C6E #4C1C6E
triadic
#231C6E #6E231C #1C6E23
tetradic
#231C6E #6E1C3E #676E1C #1C6E4C
square
#231C6E #6E1C3E #676E1C #1C6E4C
split-complementary
#231C6E #6E4C1C #3E6E1C
monochromatic
#080618 #13103D #231C6E #33289F #4538CC

Accessibility & contrast

On white

14.36
#231C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C6E
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C6E#FFFFFF#000000##FFFFFF
##231C6E1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231c6e;
/* rgb */ color: rgb(35, 28, 110);
/* oklch */ color: oklch(29.8% 0.135 278.2);
Tailwind
colors: {
  custom: {
    50: '#695998',
    500: '#231c6e',
    950: '#000000',
  },
}
SCSS
$custom: #231c6e;
$custom-light: #695998;
$custom-dark: #000000;
JSON
{
  "hex": "#231c6e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 245.122,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29791,
    "c": 0.13495,
    "h": 278.2
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#231C6E
secondary
#9BA343
accent
#E345D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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