#232086#232086

#232086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 274.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#232086
RGBrgb(35, 32, 134)
HSLhsl(242, 61%, 33%)
HSVhsv(242, 76%, 53%)
CMYKcmyk(73.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.48, 36.27, -55.97)
CIE-LCHlch(20.48, 66.69, 302.95°)
OKLaboklab(33% 0.0118 -0.1619)
OKLCHoklch(33% 0.162 274.2)
XYZxyz(5.5113, 3.1110, 22.8597)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232086 #838620
analogous
#205086 #232086 #562086
triadic
#232086 #862320 #208623
tetradic
#232086 #862050 #838620 #208656
square
#232086 #862050 #838620 #208656
split-complementary
#232086 #865620 #508620
monochromatic
#090823 #161455 #232086 #302CB7 #504CD4

Accessibility & contrast

On white

12.94
#232086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232086
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232086#FFFFFF#000000##FFFFFF
##2320861.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232086;
/* rgb */ color: rgb(35, 32, 134);
/* oklch */ color: oklch(33.0% 0.162 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f5daa',
    500: '#232086',
    950: '#000000',
  },
}
SCSS
$custom: #232086;
$custom-light: #6f5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#232086",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 241.765,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33002,
    "c": 0.1623,
    "h": 274.2
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#232086
secondary
#B4B74B
accent
#E543E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232086

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

Preview Lab → · Contrast checker → · Palette generator →

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