#233996#233996

#233996 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.154 H 268.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#233996
RGBrgb(35, 57, 150)
HSLhsl(229, 62%, 36%)
HSVhsv(229, 77%, 59%)
CMYKcmyk(76.7%, 62%, 0%, 41.2%)
CIE-LABlab(28.07, 26.00, -53.43)
CIE-LCHlch(28.07, 59.42, 295.94°)
OKLaboklab(38.99% -0.0053 -0.1544)
OKLCHoklch(38.99% 0.154 268)
XYZxyz(7.6594, 5.4848, 29.5032)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233996 #968023
analogous
#237396 #233996 #472396
triadic
#233996 #962339 #399623
tetradic
#233996 #962373 #968023 #239647
square
#233996 #962373 #968023 #239647
split-complementary
#233996 #964723 #739623
monochromatic
#0C1333 #172664 #233996 #2F4CC8 #5B73D9

Accessibility & contrast

On white

10.01
#233996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233996
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233996#FFFFFF#000000##FFFFFF
##2339961.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233996;
/* rgb */ color: rgb(35, 57, 150);
/* oklch */ color: oklch(39.0% 0.154 268.0);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#233996',
    950: '#000000',
  },
}
SCSS
$custom: #233996;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#233996",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 228.522,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38993,
    "c": 0.15446,
    "h": 268
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#233996
secondary
#BDAA58
accent
#C643E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233996

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

Preview Lab → · Contrast checker → · Palette generator →

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