#231481#231481

#231481 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.9% C 0.167 H 276.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#231481
RGBrgb(35, 20, 129)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 84%, 51%)
CMYKcmyk(72.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(17.66, 41.08, -57.49)
CIE-LCHlch(17.66, 70.66, 305.55°)
OKLaboklab(30.85% 0.0187 -0.1661)
OKLCHoklch(30.85% 0.167 276.4)
XYZxyz(4.9044, 2.4422, 20.9775)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231481 #728114
analogous
#143C81 #231481 #5A1481
triadic
#231481 #812314 #148123
tetradic
#231481 #81143C #728114 #14815A
square
#231481 #81143C #728114 #14815A
split-complementary
#231481 #815A14 #3C8114
monochromatic
#07041A #150C4C #231481 #311CB6 #4830DF

Accessibility & contrast

On white

14.11
#231481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231481
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231481#FFFFFF#000000##FFFFFF
##2314811.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231481;
/* rgb */ color: rgb(35, 20, 129);
/* oklch */ color: oklch(30.9% 0.167 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e56a7',
    500: '#231481',
    950: '#000000',
  },
}
SCSS
$custom: #231481;
$custom-light: #6e56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#231481",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 248.257,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30852,
    "c": 0.16719,
    "h": 276.4
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#231481
secondary
#A5B63B
accent
#F038D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231481

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

Preview Lab → · Contrast checker → · Palette generator →

#231481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva