#231790#231790

#231790 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.183 H 274.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#231790
RGBrgb(35, 23, 144)
HSLhsl(246, 72%, 33%)
HSVhsv(246, 84%, 56%)
CMYKcmyk(75.7%, 84%, 0%, 43.5%)
CIE-LABlab(19.98, 44.37, -63.06)
CIE-LCHlch(19.98, 77.10, 305.13°)
OKLaboklab(32.99% 0.0132 -0.1824)
OKLCHoklch(32.99% 0.183 274.1)
XYZxyz(6.0319, 2.9831, 26.6381)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231790 #849017
analogous
#174890 #231790 #5F1790
triadic
#231790 #902317 #179023
tetradic
#231790 #901748 #849017 #17905F
square
#231790 #901748 #849017 #17905F
split-complementary
#231790 #905F17 #489017
monochromatic
#090626 #160F5B #231790 #301FC5 #5141E1

Accessibility & contrast

On white

13.15
#231790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231790
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231790#FFFFFF#000000##FFFFFF
##2317901.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231790;
/* rgb */ color: rgb(35, 23, 144);
/* oklch */ color: oklch(33.0% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7258b2',
    500: '#231790',
    950: '#000000',
  },
}
SCSS
$custom: #231790;
$custom-light: #7258b2;
$custom-dark: #000000;
JSON
{
  "hex": "#231790",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 245.95,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32987,
    "c": 0.18283,
    "h": 274.1
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#231790
secondary
#B4C142
accent
#EF39DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231790

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

Preview Lab → · Contrast checker → · Palette generator →

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