#231290#231290

#231290 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.186 H 274.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#231290
RGBrgb(35, 18, 144)
HSLhsl(248, 78%, 32%)
HSVhsv(248, 88%, 56%)
CMYKcmyk(75.7%, 87.5%, 0%, 43.5%)
CIE-LABlab(19.24, 46.56, -64.29)
CIE-LCHlch(19.24, 79.37, 305.91°)
OKLaboklab(32.48% 0.0147 -0.1858)
OKLCHoklch(32.48% 0.186 274.5)
XYZxyz(5.9418, 2.8030, 26.6080)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231290 #7F9012
analogous
#124090 #231290 #621290
triadic
#231290 #902312 #129023
tetradic
#231290 #901240 #7F9012 #129062
square
#231290 #901240 #7F9012 #129062
split-complementary
#231290 #906212 #409012
monochromatic
#090423 #160B5A #231290 #3019C6 #4E36E6

Accessibility & contrast

On white

13.45
#231290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231290
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231290#FFFFFF#000000##FFFFFF
##2312901.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231290;
/* rgb */ color: rgb(35, 18, 144);
/* oklch */ color: oklch(32.5% 0.186 274.5);
Tailwind
colors: {
  custom: {
    50: '#7256b2',
    500: '#231290',
    950: '#000000',
  },
}
SCSS
$custom: #231290;
$custom-light: #7256b2;
$custom-dark: #000000;
JSON
{
  "hex": "#231290",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 248.095,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32479,
    "c": 0.18639,
    "h": 274.5
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#231290
secondary
#B1C43A
accent
#F434DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #231290

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

Preview Lab → · Contrast checker → · Palette generator →

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