#23345D#23345D

#23345D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.076 H 265.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#23345D
RGBrgb(35, 52, 93)
HSLhsl(222, 45%, 25%)
HSVhsv(222, 62%, 36%)
CMYKcmyk(62.4%, 44.1%, 0%, 63.5%)
CIE-LABlab(22.31, 7.25, -26.65)
CIE-LCHlch(22.31, 27.62, 285.23°)
OKLaboklab(33.28% -0.006 -0.0757)
OKLCHoklch(33.28% 0.076 265.5)
XYZxyz(3.8962, 3.6033, 10.8440)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345D #5D4C23
analogous
#23515D #23345D #2F235D
triadic
#23345D #5D2334 #345D23
tetradic
#23345D #5D2351 #5D4C23 #235D2F
square
#23345D #5D2351 #5D4C23 #235D2F
split-complementary
#23345D #5D2F23 #515D23
monochromatic
#080C16 #121B31 #23345D #344D89 #4466B6

Accessibility & contrast

On white

12.20
#23345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23345D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345D#FFFFFF#000000##FFFFFF
##23345D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#1B335C
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23345d;
/* rgb */ color: rgb(35, 52, 93);
/* oklch */ color: oklch(33.3% 0.076 265.5);
Tailwind
colors: {
  custom: {
    50: '#636b8b',
    500: '#23345d',
    950: '#000000',
  },
}
SCSS
$custom: #23345d;
$custom-light: #636b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#23345d",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 222.414,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33276,
    "c": 0.07596,
    "h": 265.5
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#23345D
secondary
#917C4B
accent
#AF53D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #23345D

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

Preview Lab → · Contrast checker → · Palette generator →

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