#231C68#231C68

#231C68 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.127 H 279.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#231C68
RGBrgb(35, 28, 104)
HSLhsl(246, 58%, 26%)
HSVhsv(246, 73%, 41%)
CMYKcmyk(66.3%, 73.1%, 0%, 59.2%)
CIE-LABlab(16.44, 28.19, -43.37)
CIE-LCHlch(16.44, 51.72, 303.02°)
OKLaboklab(29.17% 0.0203 -0.1251)
OKLCHoklch(29.17% 0.127 279.2)
XYZxyz(3.6063, 2.1870, 13.3261)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C68 #61681C
analogous
#1C3B68 #231C68 #491C68
triadic
#231C68 #68231C #1C6823
tetradic
#231C68 #681C3B #61681C #1C6849
square
#231C68 #681C3B #61681C #1C6849
split-complementary
#231C68 #68491C #3B681C
monochromatic
#080618 #130F38 #231C68 #332998 #4336C8

Accessibility & contrast

On white

14.61
#231C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C68
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C68#FFFFFF#000000##FFFFFF
##231C681.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231c68;
/* rgb */ color: rgb(35, 28, 104);
/* oklch */ color: oklch(29.2% 0.127 279.2);
Tailwind
colors: {
  custom: {
    50: '#685994',
    500: '#231c68',
    950: '#000000',
  },
}
SCSS
$custom: #231c68;
$custom-light: #685994;
$custom-dark: #000000;
JSON
{
  "hex": "#231c68",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 245.526,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.1267,
    "h": 279.2
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#231C68
secondary
#959D43
accent
#E147D3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C68

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

Preview Lab → · Contrast checker → · Palette generator →

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