#233386#233386

#233386 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.140 H 269.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#233386
RGBrgb(35, 51, 134)
HSLhsl(230, 59%, 33%)
HSVhsv(230, 74%, 53%)
CMYKcmyk(73.9%, 61.9%, 0%, 47.5%)
CIE-LABlab(25.09, 23.92, -48.40)
CIE-LCHlch(25.09, 53.99, 296.30°)
OKLaboklab(36.35% -0.0008 -0.1397)
OKLCHoklch(36.35% 0.14 269.7)
XYZxyz(6.1786, 4.4456, 23.0821)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233386 #867623
analogous
#236486 #233386 #442386
triadic
#233386 #862333 #338623
tetradic
#233386 #862364 #867623 #238644
square
#233386 #862364 #867623 #238644
split-complementary
#233386 #864423 #648623
monochromatic
#0A0E25 #162155 #233386 #3045B7 #5266D2

Accessibility & contrast

On white

11.12
#233386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#233386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233386
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233386#FFFFFF#000000##FFFFFF
##2333861.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #233386;
/* rgb */ color: rgb(35, 51, 134);
/* oklch */ color: oklch(36.4% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d6aaa',
    500: '#233386',
    950: '#000000',
  },
}
SCSS
$custom: #233386;
$custom-light: #6d6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#233386",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 230.303,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.13969,
    "h": 269.7
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#233386
secondary
#B5A54F
accent
#C946E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #233386

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

Preview Lab → · Contrast checker → · Palette generator →

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