#23345A#23345A

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

Color values

HEX#23345A
RGBrgb(35, 52, 90)
HSLhsl(221, 44%, 25%)
HSVhsv(221, 61%, 35%)
CMYKcmyk(61.1%, 42.2%, 0%, 64.7%)
CIE-LABlab(22.13, 6.11, -24.97)
CIE-LCHlch(22.13, 25.71, 283.75°)
OKLaboklab(33.07% -0.0067 -0.0708)
OKLCHoklch(33.07% 0.071 264.6)
XYZxyz(3.7660, 3.5512, 10.1579)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23345A #5A4923
analogous
#23505A #23345A #2E235A
triadic
#23345A #5A2334 #345A23
tetradic
#23345A #5A2350 #5A4923 #235A2E
square
#23345A #5A2350 #5A4923 #235A2E
split-complementary
#23345A #5A2E23 #505A23
monochromatic
#090D16 #121B2E #23345A #344D86 #4567B2

Accessibility & contrast

On white

12.28
#23345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23345A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23345A#FFFFFF#000000##FFFFFF
##23345A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#1D3359
Tritanopia (blue-blind)
#013C42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23345a;
/* rgb */ color: rgb(35, 52, 90);
/* oklch */ color: oklch(33.1% 0.071 264.6);
Tailwind
colors: {
  custom: {
    50: '#636b89',
    500: '#23345a',
    950: '#000000',
  },
}
SCSS
$custom: #23345a;
$custom-light: #636b89;
$custom-dark: #000000;
JSON
{
  "hex": "#23345a",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 221.455,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.07112,
    "h": 264.6
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#23345A
secondary
#8E794B
accent
#AC54D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #23345A

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

Preview Lab → · Contrast checker → · Palette generator →

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