#231880#231880

#231880 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.163 H 276.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#231880
RGBrgb(35, 24, 128)
HSLhsl(246, 68%, 30%)
HSVhsv(246, 81%, 50%)
CMYKcmyk(72.7%, 81.3%, 0%, 49.8%)
CIE-LABlab(18.23, 38.75, -55.91)
CIE-LCHlch(18.23, 68.02, 304.73°)
OKLaboklab(31.21% 0.0173 -0.1616)
OKLCHoklch(31.21% 0.163 276.1)
XYZxyz(4.9148, 2.5686, 20.6547)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231880 #758018
analogous
#184180 #231880 #571880
triadic
#231880 #802318 #188023
tetradic
#231880 #801841 #758018 #188057
square
#231880 #801841 #758018 #188057
split-complementary
#231880 #805718 #418018
monochromatic
#07051A #150E4C #231880 #3122B4 #4A39DA

Accessibility & contrast

On white

13.87
#231880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231880
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231880#FFFFFF#000000##FFFFFF
##2318801.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231880;
/* rgb */ color: rgb(35, 24, 128);
/* oklch */ color: oklch(31.2% 0.163 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e58a6',
    500: '#231880',
    950: '#000000',
  },
}
SCSS
$custom: #231880;
$custom-light: #6e58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231880",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 246.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.16253,
    "h": 276.1
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#231880
secondary
#A8B440
accent
#EB3DD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231880

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

Preview Lab → · Contrast checker → · Palette generator →

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