#232990#232990

#232990 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.166 H 271.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#232990
RGBrgb(35, 41, 144)
HSLhsl(237, 61%, 35%)
HSVhsv(237, 76%, 56%)
CMYKcmyk(75.7%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.53, 34.29, -57.19)
CIE-LCHlch(23.53, 66.69, 300.95°)
OKLaboklab(35.49% 0.0052 -0.1655)
OKLCHoklch(35.49% 0.166 271.8)
XYZxyz(6.5184, 3.9561, 26.8002)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232990 #908A23
analogous
#236090 #232990 #532390
triadic
#232990 #902329 #299023
tetradic
#232990 #902360 #908A23 #239053
square
#232990 #902360 #908A23 #239053
split-complementary
#232990 #905323 #609023
monochromatic
#0B0D2E #171B5F #232990 #2F37C1 #575ED6

Accessibility & contrast

On white

11.72
#232990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#232990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232990
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232990#FFFFFF#000000##FFFFFF
##2329901.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232990;
/* rgb */ color: rgb(35, 41, 144);
/* oklch */ color: oklch(35.5% 0.166 271.8);
Tailwind
colors: {
  custom: {
    50: '#7063b2',
    500: '#232990',
    950: '#000000',
  },
}
SCSS
$custom: #232990;
$custom-light: #7063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232990",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 236.697,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.16556,
    "h": 271.8
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#232990
secondary
#BAB554
accent
#DB44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232990

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

Preview Lab → · Contrast checker → · Palette generator →

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