#232884#232884

#232884 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.151 H 272.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#232884
RGBrgb(35, 40, 132)
HSLhsl(237, 58%, 33%)
HSVhsv(237, 73%, 52%)
CMYKcmyk(73.5%, 69.7%, 0%, 48.2%)
CIE-LABlab(22.09, 30.56, -52.06)
CIE-LCHlch(22.09, 60.37, 300.41°)
OKLaboklab(34.09% 0.0073 -0.1505)
OKLCHoklch(34.09% 0.151 272.8)
XYZxyz(5.6154, 3.5403, 22.2127)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232884 #847F23
analogous
#235984 #232884 #4E2384
triadic
#232884 #842328 #288423
tetradic
#232884 #842359 #847F23 #23844E
square
#232884 #842359 #847F23 #23844E
split-complementary
#232884 #844E23 #598423
monochromatic
#090B23 #161954 #232884 #3037B4 #5157D1

Accessibility & contrast

On white

12.29
#232884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232884
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232884#FFFFFF#000000##FFFFFF
##2328841.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232884;
/* rgb */ color: rgb(35, 40, 132);
/* oklch */ color: oklch(34.1% 0.151 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d62a9',
    500: '#232884',
    950: '#000000',
  },
}
SCSS
$custom: #232884;
$custom-light: #6d62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#232884",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 236.907,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34092,
    "c": 0.15069,
    "h": 272.8
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#232884
secondary
#B4AF4E
accent
#D946E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232884

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

Preview Lab → · Contrast checker → · Palette generator →

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