#232389#232389

#232389 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.163 H 273.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#232389
RGBrgb(35, 35, 137)
HSLhsl(240, 59%, 34%)
HSVhsv(240, 74%, 54%)
CMYKcmyk(74.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.45, 35.52, -56.25)
CIE-LCHlch(21.45, 66.53, 302.27°)
OKLaboklab(33.79% 0.0096 -0.1627)
OKLCHoklch(33.79% 0.163 273.4)
XYZxyz(5.8080, 3.3649, 24.0055)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232389 #898923
analogous
#235689 #232389 #562389
triadic
#232389 #892323 #238923
tetradic
#232389 #892356 #898923 #238956
square
#232389 #892356 #898923 #238956
split-complementary
#232389 #895623 #568923
monochromatic
#0A0A28 #171758 #232389 #2F2FBA #5353D3

Accessibility & contrast

On white

12.55
#232389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232389
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232389#FFFFFF#000000##FFFFFF
##2323891.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232389;
/* rgb */ color: rgb(35, 35, 137);
/* oklch */ color: oklch(33.8% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f5fad',
    500: '#232389',
    950: '#000000',
  },
}
SCSS
$custom: #232389;
$custom-light: #6f5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#232389",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.16301,
    "h": 273.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#232389
secondary
#B7B751
accent
#E245E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232389

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

Preview Lab → · Contrast checker → · Palette generator →

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