#231AAA#231AAA

#231AAA is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.5% C 0.211 H 271.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#231AAA
RGBrgb(35, 26, 170)
HSLhsl(244, 73%, 38%)
HSVhsv(244, 85%, 67%)
CMYKcmyk(79.4%, 84.7%, 0%, 33.3%)
CIE-LABlab(23.66, 51.01, -72.86)
CIE-LCHlch(23.66, 88.94, 304.99°)
OKLaboklab(36.46% 0.0055 -0.2108)
OKLCHoklch(36.46% 0.211 271.5)
XYZxyz(8.3158, 3.9975, 38.3557)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AAA #A1AA1A
analogous
#1A59AA #231AAA #6B1AAA
triadic
#231AAA #AA231A #1AAA23
tetradic
#231AAA #AA1A59 #A1AA1A #1AAA6B
square
#231AAA #AA1A59 #A1AA1A #1AAA6B
split-complementary
#231AAA #AA6B1A #59AA1A
monochromatic
#0D0A40 #181275 #231AAA #2F24DD #6259E6

Accessibility & contrast

On white

11.67
#231AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231AAA
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AAA#FFFFFF#000000##FFFFFF
##231AAA1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAE
Deuteranopia (green-blind)
#0031A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #231aaa;
/* rgb */ color: rgb(35, 26, 170);
/* oklch */ color: oklch(36.5% 0.211 271.5);
Tailwind
colors: {
  custom: {
    50: '#785cc5',
    500: '#231aaa',
    950: '#000000',
  },
}
SCSS
$custom: #231aaa;
$custom-light: #785cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#231aaa",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 170
  },
  "hsl": {
    "h": 243.75,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.21088,
    "h": 271.5
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#231AAA
secondary
#C2C957
accent
#F038E5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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