#23366F#23366F

#23366F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.102 H 267.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#23366F
RGBrgb(35, 54, 111)
HSLhsl(225, 52%, 29%)
HSVhsv(225, 68%, 44%)
CMYKcmyk(68.5%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.14, 12.83, -35.40)
CIE-LCHlch(24.14, 37.65, 289.93°)
OKLaboklab(35.06% -0.005 -0.1014)
OKLCHoklch(35.06% 0.102 267.2)
XYZxyz(4.8806, 4.1429, 15.5783)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23366F #6F5C23
analogous
#235C6F #23366F #36236F
triadic
#23366F #6F2336 #366F23
tetradic
#23366F #6F235C #6F5C23 #236F36
square
#23366F #6F235C #6F5C23 #236F36
split-complementary
#23366F #6F3623 #5C6F23
monochromatic
#070B17 #141F40 #23366F #324D9E #4767C5

Accessibility & contrast

On white

11.48
#23366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#23366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23366F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23366F#FFFFFF#000000##FFFFFF
##23366F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23366f;
/* rgb */ color: rgb(35, 54, 111);
/* oklch */ color: oklch(35.1% 0.102 267.2);
Tailwind
colors: {
  custom: {
    50: '#676c99',
    500: '#23366f',
    950: '#000000',
  },
}
SCSS
$custom: #23366f;
$custom-light: #676c99;
$custom-dark: #000000;
JSON
{
  "hex": "#23366f",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 225,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.10153,
    "h": 267.2
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#23366F
secondary
#A28D4C
accent
#B84CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #23366F

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

Preview Lab → · Contrast checker → · Palette generator →

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