#23368E#23368E

#23368E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.147 H 268.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#23368E
RGBrgb(35, 54, 142)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(75.4%, 62%, 0%, 44.3%)
CIE-LABlab(26.59, 24.95, -50.94)
CIE-LCHlch(26.59, 56.72, 296.10°)
OKLaboklab(37.67% -0.0031 -0.1471)
OKLCHoklch(37.67% 0.147 268.8)
XYZxyz(6.8931, 4.9479, 26.1777)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23368E #8E7B23
analogous
#236C8E #23368E #46238E
triadic
#23368E #8E2336 #368E23
tetradic
#23368E #8E236C #8E7B23 #238E46
square
#23368E #8E236C #8E7B23 #238E46
split-complementary
#23368E #8E4623 #6C8E23
monochromatic
#0B112C #17235D #23368E #2F49BF #566DD5

Accessibility & contrast

On white

10.55
#23368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#23368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23368E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23368E#FFFFFF#000000##FFFFFF
##23368E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23368e;
/* rgb */ color: rgb(35, 54, 142);
/* oklch */ color: oklch(37.7% 0.147 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6cb0',
    500: '#23368e',
    950: '#000000',
  },
}
SCSS
$custom: #23368e;
$custom-light: #6e6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#23368e",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 229.346,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37675,
    "c": 0.14713,
    "h": 268.8
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#23368E
secondary
#B9A753
accent
#C744E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #23368E

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

Preview Lab → · Contrast checker → · Palette generator →

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