#23345B#23345B

#23345B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.073 H 264.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#23345B
RGBrgb(35, 52, 91)
HSLhsl(222, 44%, 25%)
HSVhsv(222, 62%, 36%)
CMYKcmyk(61.5%, 42.9%, 0%, 64.3%)
CIE-LABlab(22.19, 6.49, -25.53)
CIE-LCHlch(22.19, 26.34, 284.26°)
OKLaboklab(33.14% -0.0064 -0.0725)
OKLCHoklch(33.14% 0.073 264.9)
XYZxyz(3.8088, 3.5683, 10.3835)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345B #5B4A23
analogous
#23505B #23345B #2E235B
triadic
#23345B #5B2334 #345B23
tetradic
#23345B #5B2350 #5B4A23 #235B2E
square
#23345B #5B2350 #5B4A23 #235B2E
split-complementary
#23345B #5B2E23 #505B23
monochromatic
#090D16 #121B2F #23345B #344D87 #4567B3

Accessibility & contrast

On white

12.25
#23345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#23345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23345B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345B#FFFFFF#000000##FFFFFF
##23345B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#1C335A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23345b;
/* rgb */ color: rgb(35, 52, 91);
/* oklch */ color: oklch(33.1% 0.073 264.9);
Tailwind
colors: {
  custom: {
    50: '#636b89',
    500: '#23345b',
    950: '#000000',
  },
}
SCSS
$custom: #23345b;
$custom-light: #636b89;
$custom-dark: #000000;
JSON
{
  "hex": "#23345b",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 221.786,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3314,
    "c": 0.07274,
    "h": 264.9
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#23345B
secondary
#8F7A4B
accent
#AD54D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #23345B

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

Preview Lab → · Contrast checker → · Palette generator →

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