#232886#232886

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

Color values

HEX#232886
RGBrgb(35, 40, 134)
HSLhsl(237, 59%, 33%)
HSVhsv(237, 74%, 53%)
CMYKcmyk(73.9%, 70.1%, 0%, 47.5%)
CIE-LABlab(22.29, 31.29, -53.00)
CIE-LCHlch(22.29, 61.55, 300.56°)
OKLaboklab(34.29% 0.0071 -0.1532)
OKLCHoklch(34.29% 0.153 272.6)
XYZxyz(5.7536, 3.5956, 22.9404)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232886 #868123
analogous
#235986 #232886 #4F2386
triadic
#232886 #862328 #288623
tetradic
#232886 #862359 #868123 #23864F
square
#232886 #862359 #868123 #23864F
split-complementary
#232886 #864F23 #598623
monochromatic
#0A0B25 #161A55 #232886 #3036B7 #5258D2

Accessibility & contrast

On white

12.21
#232886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232886
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232886#FFFFFF#000000##FFFFFF
##2328861.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232886;
/* rgb */ color: rgb(35, 40, 134);
/* oklch */ color: oklch(34.3% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e62aa',
    500: '#232886',
    950: '#000000',
  },
}
SCSS
$custom: #232886;
$custom-light: #6e62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#232886",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 236.97,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.15339,
    "h": 272.6
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#232886
secondary
#B5B04F
accent
#DA46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232886

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

Preview Lab → · Contrast checker → · Palette generator →

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