#231C67#231C67

#231C67 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.125 H 279.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#231C67
RGBrgb(35, 28, 103)
HSLhsl(246, 57%, 26%)
HSVhsv(246, 73%, 40%)
CMYKcmyk(66%, 72.8%, 0%, 59.6%)
CIE-LABlab(16.34, 27.83, -42.88)
CIE-LCHlch(16.34, 51.12, 302.99°)
OKLaboklab(29.06% 0.0204 -0.1236)
OKLCHoklch(29.06% 0.125 279.4)
XYZxyz(3.5558, 2.1668, 13.0602)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C67 #60671C
analogous
#1C3A67 #231C67 #481C67
triadic
#231C67 #67231C #1C6723
tetradic
#231C67 #671C3A #60671C #1C6748
square
#231C67 #671C3A #60671C #1C6748
split-complementary
#231C67 #67481C #3A671C
monochromatic
#080718 #130F37 #231C67 #332997 #4436C7

Accessibility & contrast

On white

14.65
#231C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C67
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C67#FFFFFF#000000##FFFFFF
##231C671.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231c67;
/* rgb */ color: rgb(35, 28, 103);
/* oklch */ color: oklch(29.1% 0.125 279.4);
Tailwind
colors: {
  custom: {
    50: '#675993',
    500: '#231c67',
    950: '#000000',
  },
}
SCSS
$custom: #231c67;
$custom-light: #675993;
$custom-dark: #000000;
JSON
{
  "hex": "#231c67",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 245.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29063,
    "c": 0.12531,
    "h": 279.4
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#231C67
secondary
#949C43
accent
#E147D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C67

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

Preview Lab → · Contrast checker → · Palette generator →

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