#23347F#23347F

#23347F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.128 H 269.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#23347F
RGBrgb(35, 52, 127)
HSLhsl(229, 57%, 32%)
HSVhsv(229, 72%, 50%)
CMYKcmyk(72.4%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.78, 20.51, -44.52)
CIE-LCHlch(24.78, 49.02, 294.73°)
OKLaboklab(35.94% -0.0017 -0.1283)
OKLCHoklch(35.94% 0.128 269.2)
XYZxyz(5.7506, 4.3450, 20.6102)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23347F #7F6E23
analogous
#23627F #23347F #40237F
triadic
#23347F #7F2334 #347F23
tetradic
#23347F #7F2362 #7F6E23 #237F40
square
#23347F #7F2362 #7F6E23 #237F40
split-complementary
#23347F #7F4023 #627F23
monochromatic
#090D1F #16204F #23347F #3048AF #4E66CE

Accessibility & contrast

On white

11.23
#23347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#23347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23347F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23347F#FFFFFF#000000##FFFFFF
##23347F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23347f;
/* rgb */ color: rgb(35, 52, 127);
/* oklch */ color: oklch(35.9% 0.128 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b6ba5',
    500: '#23347f',
    950: '#000000',
  },
}
SCSS
$custom: #23347f;
$custom-light: #6b6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#23347f",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 228.913,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.12829,
    "h": 269.2
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#23347F
secondary
#B19F4C
accent
#C448E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23347F

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

Preview Lab → · Contrast checker → · Palette generator →

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