#231980#231980

#231980 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.162 H 276.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#231980
RGBrgb(35, 25, 128)
HSLhsl(246, 67%, 30%)
HSVhsv(246, 80%, 50%)
CMYKcmyk(72.7%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.41, 38.22, -55.60)
CIE-LCHlch(18.41, 67.47, 304.50°)
OKLaboklab(31.34% 0.0168 -0.1607)
OKLCHoklch(31.34% 0.162 276)
XYZxyz(4.9358, 2.6106, 20.6617)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231980 #768019
analogous
#194380 #231980 #561980
triadic
#231980 #802319 #198023
tetradic
#231980 #801943 #768019 #198056
square
#231980 #801943 #768019 #198056
split-complementary
#231980 #805619 #438019
monochromatic
#07051A #150F4D #231980 #3123B3 #4A3BD9

Accessibility & contrast

On white

13.80
#231980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231980
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231980#FFFFFF#000000##FFFFFF
##2319801.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231980;
/* rgb */ color: rgb(35, 25, 128);
/* oklch */ color: oklch(31.3% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#6e58a6',
    500: '#231980',
    950: '#000000',
  },
}
SCSS
$custom: #231980;
$custom-light: #6e58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231980",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 245.825,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.16161,
    "h": 276
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#231980
secondary
#A9B441
accent
#EA3ED9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231980

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

Preview Lab → · Contrast checker → · Palette generator →

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