#23345F#23345F

#23345F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.079 H 266.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#23345F
RGBrgb(35, 52, 95)
HSLhsl(223, 46%, 25%)
HSVhsv(223, 63%, 37%)
CMYKcmyk(63.2%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.44, 8.02, -27.76)
CIE-LCHlch(22.44, 28.89, 286.12°)
OKLaboklab(33.42% -0.0055 -0.079)
OKLCHoklch(33.42% 0.079 266)
XYZxyz(3.9860, 3.6392, 11.3166)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345F #5F4E23
analogous
#23525F #23345F #30235F
triadic
#23345F #5F2334 #345F23
tetradic
#23345F #5F2352 #5F4E23 #235F30
square
#23345F #5F2352 #5F4E23 #235F30
split-complementary
#23345F #5F3023 #525F23
monochromatic
#080C16 #131C32 #23345F #334C8C #4465B8

Accessibility & contrast

On white

12.15
#23345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#23345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23345F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345F#FFFFFF#000000##FFFFFF
##23345F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#19335E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23345f;
/* rgb */ color: rgb(35, 52, 95);
/* oklch */ color: oklch(33.4% 0.079 266.0);
Tailwind
colors: {
  custom: {
    50: '#646b8d',
    500: '#23345f',
    950: '#000000',
  },
}
SCSS
$custom: #23345f;
$custom-light: #646b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#23345f",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 223,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.07917,
    "h": 266
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#23345F
secondary
#937E4B
accent
#B052D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #23345F

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

Preview Lab → · Contrast checker → · Palette generator →

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