#23336E#23336E

#23336E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.104 H 268.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#23336E
RGBrgb(35, 51, 110)
HSLhsl(227, 52%, 28%)
HSVhsv(227, 68%, 43%)
CMYKcmyk(68.2%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.17, 14.56, -36.32)
CIE-LCHlch(23.17, 39.13, 291.85°)
OKLaboklab(34.31% -0.002 -0.1042)
OKLCHoklch(34.31% 0.104 268.9)
XYZxyz(4.6905, 3.8503, 15.2448)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23336E #6E5E23
analogous
#23586E #23336E #38236E
triadic
#23336E #6E2333 #336E23
tetradic
#23336E #6E2358 #6E5E23 #236E38
square
#23336E #6E2358 #6E5E23 #236E38
split-complementary
#23336E #6E3823 #586E23
monochromatic
#070B17 #141D40 #23336E #32499C #4762C4

Accessibility & contrast

On white

11.86
#23336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23336E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23336E#FFFFFF#000000##FFFFFF
##23336E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23336e;
/* rgb */ color: rgb(35, 51, 110);
/* oklch */ color: oklch(34.3% 0.104 268.9);
Tailwind
colors: {
  custom: {
    50: '#676a98',
    500: '#23336e',
    950: '#000000',
  },
}
SCSS
$custom: #23336e;
$custom-light: #676a98;
$custom-dark: #000000;
JSON
{
  "hex": "#23336e",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 227.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.10418,
    "h": 268.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#23336E
secondary
#A18F4C
accent
#BD4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #23336E

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

Preview Lab → · Contrast checker → · Palette generator →

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