#23345E#23345E

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

Color values

HEX#23345E
RGBrgb(35, 52, 94)
HSLhsl(223, 46%, 25%)
HSVhsv(223, 63%, 37%)
CMYKcmyk(62.8%, 44.7%, 0%, 63.1%)
CIE-LABlab(22.38, 7.64, -27.20)
CIE-LCHlch(22.38, 28.25, 285.68°)
OKLaboklab(33.35% -0.0057 -0.0774)
OKLCHoklch(33.35% 0.078 265.8)
XYZxyz(3.9408, 3.6211, 11.0788)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345E #5E4D23
analogous
#23515E #23345E #30235E
triadic
#23345E #5E2334 #345E23
tetradic
#23345E #5E2351 #5E4D23 #235E30
square
#23345E #5E2351 #5E4D23 #235E30
split-complementary
#23345E #5E3023 #515E23
monochromatic
#080C16 #121B31 #23345E #344D8B #4465B7

Accessibility & contrast

On white

12.18
#23345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23345E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345E#FFFFFF#000000##FFFFFF
##23345E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23345e;
/* rgb */ color: rgb(35, 52, 94);
/* oklch */ color: oklch(33.3% 0.078 265.8);
Tailwind
colors: {
  custom: {
    50: '#646b8c',
    500: '#23345e',
    950: '#000000',
  },
}
SCSS
$custom: #23345e;
$custom-light: #646b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#23345e",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 222.712,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33345,
    "c": 0.07757,
    "h": 265.8
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#23345E
secondary
#927D4B
accent
#B052D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #23345E

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

Preview Lab → · Contrast checker → · Palette generator →

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