#231CA7#231CA7

#231CA7 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.3% C 0.206 H 271.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#231CA7
RGBrgb(35, 28, 167)
HSLhsl(243, 71%, 38%)
HSVhsv(243, 83%, 65%)
CMYKcmyk(79%, 83.2%, 0%, 34.5%)
CIE-LABlab(23.60, 49.19, -71.16)
CIE-LCHlch(23.60, 86.51, 304.65°)
OKLaboklab(36.3% 0.0058 -0.2059)
OKLCHoklch(36.3% 0.206 271.6)
XYZxyz(8.0811, 3.9770, 36.8935)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231CA7 #A0A71C
analogous
#1C5AA7 #231CA7 #691CA7
triadic
#231CA7 #A7231C #1CA723
tetradic
#231CA7 #A71C5A #A0A71C #1CA769
square
#231CA7 #A71C5A #A0A71C #1CA769
split-complementary
#231CA7 #A7691C #5AA71C
monochromatic
#0D0A3E #181373 #231CA7 #2F26DB #615AE3

Accessibility & contrast

On white

11.70
#231CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#231CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231CA7
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231CA7#FFFFFF#000000##FFFFFF
##231CA71.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #231ca7;
/* rgb */ color: rgb(35, 28, 167);
/* oklch */ color: oklch(36.3% 0.206 271.6);
Tailwind
colors: {
  custom: {
    50: '#775dc3',
    500: '#231ca7',
    950: '#000000',
  },
}
SCSS
$custom: #231ca7;
$custom-light: #775dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#231ca7",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 243.022,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36301,
    "c": 0.206,
    "h": 271.6
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#231CA7
secondary
#C1C758
accent
#EE3AE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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