#23345C#23345C

#23345C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.074 H 265.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#23345C
RGBrgb(35, 52, 92)
HSLhsl(222, 45%, 25%)
HSVhsv(222, 62%, 36%)
CMYKcmyk(62%, 43.5%, 0%, 63.9%)
CIE-LABlab(22.25, 6.87, -26.09)
CIE-LCHlch(22.25, 26.98, 284.75°)
OKLaboklab(33.21% -0.0062 -0.0741)
OKLCHoklch(33.21% 0.074 265.2)
XYZxyz(3.8522, 3.5857, 10.6122)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345C #5C4B23
analogous
#23515C #23345C #2E235C
triadic
#23345C #5C2334 #345C23
tetradic
#23345C #5C2351 #5C4B23 #235C2E
square
#23345C #5C2351 #5C4B23 #235C2E
split-complementary
#23345C #5C2E23 #515C23
monochromatic
#080D16 #121B30 #23345C #344D88 #4566B5

Accessibility & contrast

On white

12.23
#23345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#23345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23345C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345C#FFFFFF#000000##FFFFFF
##23345C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23345c;
/* rgb */ color: rgb(35, 52, 92);
/* oklch */ color: oklch(33.2% 0.074 265.2);
Tailwind
colors: {
  custom: {
    50: '#636b8a',
    500: '#23345c',
    950: '#000000',
  },
}
SCSS
$custom: #23345c;
$custom-light: #636b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#23345c",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 222.105,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33208,
    "c": 0.07435,
    "h": 265.2
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#23345C
secondary
#907B4B
accent
#AE53D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #23345C

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

Preview Lab → · Contrast checker → · Palette generator →

#23345C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva