#232686#232686

#232686 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.156 H 273.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#232686
RGBrgb(35, 38, 134)
HSLhsl(238, 59%, 33%)
HSVhsv(238, 74%, 53%)
CMYKcmyk(73.9%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.81, 32.58, -53.77)
CIE-LCHlch(21.81, 62.87, 301.21°)
OKLaboklab(33.95% 0.0084 -0.1555)
OKLCHoklch(33.95% 0.156 273.1)
XYZxyz(5.6879, 3.4642, 22.9185)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232686 #868323
analogous
#235786 #232686 #512386
triadic
#232686 #862326 #268623
tetradic
#232686 #862357 #868323 #238651
square
#232686 #862357 #868323 #238651
split-complementary
#232686 #865123 #578623
monochromatic
#0A0A25 #161855 #232686 #3034B7 #5256D2

Accessibility & contrast

On white

12.40
#232686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232686
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232686#FFFFFF#000000##FFFFFF
##2326861.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232686;
/* rgb */ color: rgb(35, 38, 134);
/* oklch */ color: oklch(34.0% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e61aa',
    500: '#232686',
    950: '#000000',
  },
}
SCSS
$custom: #232686;
$custom-light: #6e61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#232686",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 238.182,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33954,
    "c": 0.15572,
    "h": 273.1
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#232686
secondary
#B5B24F
accent
#DD46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232686

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

Preview Lab → · Contrast checker → · Palette generator →

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