#23336F#23336F

#23336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.106 H 269.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#23336F
RGBrgb(35, 51, 111)
HSLhsl(227, 52%, 29%)
HSVhsv(227, 68%, 44%)
CMYKcmyk(68.5%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.24, 14.95, -36.84)
CIE-LCHlch(23.24, 39.76, 292.09°)
OKLaboklab(34.39% -0.0019 -0.1057)
OKLCHoklch(34.39% 0.106 269)
XYZxyz(4.7452, 3.8722, 15.5332)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23336F #6F5F23
analogous
#23596F #23336F #39236F
triadic
#23336F #6F2333 #336F23
tetradic
#23336F #6F2359 #6F5F23 #236F39
square
#23336F #6F2359 #6F5F23 #236F39
split-complementary
#23336F #6F3923 #596F23
monochromatic
#070B17 #141E40 #23336F #32489E #4762C5

Accessibility & contrast

On white

11.83
#23336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23336F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23336F#FFFFFF#000000##FFFFFF
##23336F1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23336f;
/* rgb */ color: rgb(35, 51, 111);
/* oklch */ color: oklch(34.4% 0.106 269.0);
Tailwind
colors: {
  custom: {
    50: '#676a99',
    500: '#23336f',
    950: '#000000',
  },
}
SCSS
$custom: #23336f;
$custom-light: #676a99;
$custom-dark: #000000;
JSON
{
  "hex": "#23336f",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 227.368,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.10572,
    "h": 269
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#23336F
secondary
#A2904C
accent
#BD4CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #23336F

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

Preview Lab → · Contrast checker → · Palette generator →

#23336F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva