#231580#231580

#231580 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.165 H 276.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#231580
RGBrgb(35, 21, 128)
HSLhsl(248, 72%, 29%)
HSVhsv(248, 84%, 50%)
CMYKcmyk(72.7%, 83.6%, 0%, 49.8%)
CIE-LABlab(17.70, 40.28, -56.78)
CIE-LCHlch(17.70, 69.62, 305.35°)
OKLaboklab(30.85% 0.0186 -0.1641)
OKLCHoklch(30.85% 0.165 276.5)
XYZxyz(4.8563, 2.4517, 20.6352)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231580 #728015
analogous
#153D80 #231580 #591580
triadic
#231580 #802315 #158023
tetradic
#231580 #80153D #728015 #158059
square
#231580 #80153D #728015 #158059
split-complementary
#231580 #805915 #3D8015
monochromatic
#07041A #150C4B #231580 #311EB5 #4832DD

Accessibility & contrast

On white

14.09
#231580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231580
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231580#FFFFFF#000000##FFFFFF
##2315801.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231580;
/* rgb */ color: rgb(35, 21, 128);
/* oklch */ color: oklch(30.8% 0.165 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e56a6',
    500: '#231580',
    950: '#000000',
  },
}
SCSS
$custom: #231580;
$custom-light: #6e56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231580",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 247.85,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30847,
    "c": 0.16515,
    "h": 276.5
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#231580
secondary
#A5B53C
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231580

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

Preview Lab → · Contrast checker → · Palette generator →

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