#232893#232893

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

Color values

HEX#232893
RGBrgb(35, 40, 147)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(76.2%, 72.8%, 0%, 42.4%)
CIE-LABlab(23.61, 35.99, -58.91)
CIE-LCHlch(23.61, 69.04, 301.42°)
OKLaboklab(35.65% 0.0054 -0.1705)
OKLCHoklch(35.65% 0.171 271.8)
XYZxyz(6.7166, 3.9808, 28.0125)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232893 #938E23
analogous
#236093 #232893 #562393
triadic
#232893 #932328 #289323
tetradic
#232893 #932360 #938E23 #239356
square
#232893 #932360 #938E23 #239356
split-complementary
#232893 #935623 #609323
monochromatic
#0B0D30 #171B62 #232893 #2F35C4 #595FD7

Accessibility & contrast

On white

11.69
#232893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232893
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232893#FFFFFF#000000##FFFFFF
##2328931.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232893;
/* rgb */ color: rgb(35, 40, 147);
/* oklch */ color: oklch(35.6% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#7163b4',
    500: '#232893',
    950: '#000000',
  },
}
SCSS
$custom: #232893;
$custom-light: #7163b4;
$custom-dark: #000000;
JSON
{
  "hex": "#232893",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 237.321,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.17058,
    "h": 271.8
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#232893
secondary
#BCB756
accent
#DD43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232893

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

Preview Lab → · Contrast checker → · Palette generator →

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