#232790#232790

#232790 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.168 H 272.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#232790
RGBrgb(35, 39, 144)
HSLhsl(238, 61%, 35%)
HSVhsv(238, 76%, 56%)
CMYKcmyk(75.7%, 72.9%, 0%, 43.5%)
CIE-LABlab(23.07, 35.54, -57.94)
CIE-LCHlch(23.07, 67.97, 301.53°)
OKLaboklab(35.17% 0.0063 -0.1677)
OKLCHoklch(35.17% 0.168 272.2)
XYZxyz(6.4510, 3.8213, 26.7778)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232790 #908C23
analogous
#235E90 #232790 #552390
triadic
#232790 #902327 #279023
tetradic
#232790 #90235E #908C23 #239055
square
#232790 #90235E #908C23 #239055
split-complementary
#232790 #905523 #5E9023
monochromatic
#0B0C2E #171A5F #232790 #2F34C1 #575CD6

Accessibility & contrast

On white

11.90
#232790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232790
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232790#FFFFFF#000000##FFFFFF
##2327901.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232790;
/* rgb */ color: rgb(35, 39, 144);
/* oklch */ color: oklch(35.2% 0.168 272.2);
Tailwind
colors: {
  custom: {
    50: '#7062b2',
    500: '#232790',
    950: '#000000',
  },
}
SCSS
$custom: #232790;
$custom-light: #7062b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232790",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 237.798,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.16778,
    "h": 272.2
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#232790
secondary
#BAB754
accent
#DE44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232790

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

Preview Lab → · Contrast checker → · Palette generator →

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