#231390#231390

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

Color values

HEX#231390
RGBrgb(35, 19, 144)
HSLhsl(248, 77%, 32%)
HSVhsv(248, 87%, 56%)
CMYKcmyk(75.7%, 86.8%, 0%, 43.5%)
CIE-LABlab(19.38, 46.15, -64.06)
CIE-LCHlch(19.38, 78.95, 305.77°)
OKLaboklab(32.57% 0.0144 -0.1852)
OKLCHoklch(32.57% 0.186 274.5)
XYZxyz(5.9584, 2.8361, 26.6136)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231390 #809013
analogous
#134290 #231390 #621390
triadic
#231390 #902313 #139023
tetradic
#231390 #901342 #809013 #139062
square
#231390 #901342 #809013 #139062
split-complementary
#231390 #906213 #429013
monochromatic
#090524 #160C5A #231390 #301AC6 #4F39E5

Accessibility & contrast

On white

13.40
#231390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231390
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231390#FFFFFF#000000##FFFFFF
##2313901.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.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: #231390;
/* rgb */ color: rgb(35, 19, 144);
/* oklch */ color: oklch(32.6% 0.186 274.5);
Tailwind
colors: {
  custom: {
    50: '#7256b2',
    500: '#231390',
    950: '#000000',
  },
}
SCSS
$custom: #231390;
$custom-light: #7256b2;
$custom-dark: #000000;
JSON
{
  "hex": "#231390",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 247.68,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.18573,
    "h": 274.5
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#231390
secondary
#B2C43B
accent
#F335DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #231390

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

Preview Lab → · Contrast checker → · Palette generator →

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