#231C83#231C83

#231C83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.163 H 275.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#231C83
RGBrgb(35, 28, 131)
HSLhsl(244, 65%, 31%)
HSVhsv(244, 79%, 51%)
CMYKcmyk(73.3%, 78.6%, 0%, 48.6%)
CIE-LABlab(19.33, 37.56, -55.98)
CIE-LCHlch(19.33, 67.41, 303.86°)
OKLaboklab(32.09% 0.0146 -0.1619)
OKLCHoklch(32.09% 0.163 275.1)
XYZxyz(5.2038, 2.8260, 21.7396)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C83 #7C831C
analogous
#1C4883 #231C83 #561C83
triadic
#231C83 #83231C #1C8323
tetradic
#231C83 #831C48 #7C831C #1C8356
square
#231C83 #831C48 #7C831C #1C8356
split-complementary
#231C83 #83561C #48831C
monochromatic
#08061E #161151 #231C83 #3027B5 #4D43D7

Accessibility & contrast

On white

13.42
#231C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C83
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C83#FFFFFF#000000##FFFFFF
##231C831.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231c83;
/* rgb */ color: rgb(35, 28, 131);
/* oklch */ color: oklch(32.1% 0.163 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e5aa8',
    500: '#231c83',
    950: '#000000',
  },
}
SCSS
$custom: #231c83;
$custom-light: #6e5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#231c83",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 244.078,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.16251,
    "h": 275.1
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#231C83
secondary
#AFB645
accent
#E840DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231C83

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

Preview Lab → · Contrast checker → · Palette generator →

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