#232490#232490

#232490 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.171 H 272.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#232490
RGBrgb(35, 36, 144)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(75.7%, 75%, 0%, 43.5%)
CIE-LABlab(22.42, 37.37, -59.02)
CIE-LCHlch(22.42, 69.86, 302.34°)
OKLaboklab(34.7% 0.0079 -0.1708)
OKLCHoklch(34.7% 0.171 272.6)
XYZxyz(6.3564, 3.6320, 26.7462)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232490 #908F23
analogous
#235A90 #232490 #592390
triadic
#232490 #902324 #249023
tetradic
#232490 #90235A #908F23 #239059
square
#232490 #90235A #908F23 #239059
split-complementary
#232490 #905923 #5A9023
monochromatic
#0B0B2E #17185F #232490 #2F30C1 #5758D6

Accessibility & contrast

On white

12.16
#232490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232490
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232490#FFFFFF#000000##FFFFFF
##2324901.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232490;
/* rgb */ color: rgb(35, 36, 144);
/* oklch */ color: oklch(34.7% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#7160b2',
    500: '#232490',
    950: '#000000',
  },
}
SCSS
$custom: #232490;
$custom-light: #7160b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232490",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 239.45,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34699,
    "c": 0.17098,
    "h": 272.6
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#232490
secondary
#BAB954
accent
#E344E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232490

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

Preview Lab → · Contrast checker → · Palette generator →

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