#231582#231582

#231582 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.168 H 276.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#231582
RGBrgb(35, 21, 130)
HSLhsl(248, 72%, 30%)
HSVhsv(248, 84%, 51%)
CMYKcmyk(73.1%, 83.8%, 0%, 49%)
CIE-LABlab(17.94, 40.92, -57.65)
CIE-LCHlch(17.94, 70.69, 305.37°)
OKLaboklab(31.09% 0.018 -0.1666)
OKLCHoklch(31.09% 0.168 276.2)
XYZxyz(4.9892, 2.5049, 21.3353)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231582 #748215
analogous
#153E82 #231582 #591582
triadic
#231582 #822315 #158223
tetradic
#231582 #82153E #748215 #158259
square
#231582 #82153E #748215 #158259
split-complementary
#231582 #825915 #3E8215
monochromatic
#07041A #150C4D #231582 #311EB7 #4933DE

Accessibility & contrast

On white

13.99
#231582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231582
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231582#FFFFFF#000000##FFFFFF
##2315821.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003085
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231582;
/* rgb */ color: rgb(35, 21, 130);
/* oklch */ color: oklch(31.1% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f56a8',
    500: '#231582',
    950: '#000000',
  },
}
SCSS
$custom: #231582;
$custom-light: #6f56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231582",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 247.706,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31085,
    "c": 0.16759,
    "h": 276.2
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#231582
secondary
#A7B73C
accent
#EF39D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231582

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

Preview Lab → · Contrast checker → · Palette generator →

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