#233986#233986

#233986 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.132 H 267.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#233986
RGBrgb(35, 57, 134)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 53%)
CMYKcmyk(73.9%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.75, 19.77, -45.71)
CIE-LCHlch(26.75, 49.81, 293.39°)
OKLaboklab(37.59% -0.0057 -0.1317)
OKLCHoklch(37.59% 0.132 267.5)
XYZxyz(6.4578, 5.0041, 23.1752)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233986 #867023
analogous
#236A86 #233986 #3F2386
triadic
#233986 #862339 #398623
tetradic
#233986 #86236A #867023 #23863F
square
#233986 #86236A #867023 #23863F
split-complementary
#233986 #863F23 #6A8623
monochromatic
#0A1025 #162455 #233986 #304EB7 #526ED2

Accessibility & contrast

On white

10.49
#233986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#233986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233986
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233986#FFFFFF#000000##FFFFFF
##2339861.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233986;
/* rgb */ color: rgb(35, 57, 134);
/* oklch */ color: oklch(37.6% 0.132 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6faa',
    500: '#233986',
    950: '#000000',
  },
}
SCSS
$custom: #233986;
$custom-light: #6c6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#233986",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 226.667,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.13182,
    "h": 267.5
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#233986
secondary
#B59F4F
accent
#BF46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233986

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

Preview Lab → · Contrast checker → · Palette generator →

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