#23418C#23418C

#23418C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.130 H 264.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#23418C
RGBrgb(35, 65, 140)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 55%)
CMYKcmyk(75%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.49, 16.61, -44.98)
CIE-LCHlch(29.49, 47.95, 290.27°)
OKLaboklab(39.81% -0.012 -0.1294)
OKLCHoklch(39.81% 0.13 264.7)
XYZxyz(7.3154, 6.0306, 25.5843)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23418C #8C6E23
analogous
#23768C #23418C #3A238C
triadic
#23418C #8C2341 #418C23
tetradic
#23418C #8C2376 #8C6E23 #238C3A
square
#23418C #8C2376 #8C6E23 #238C3A
split-complementary
#23418C #8C3A23 #768C23
monochromatic
#0B142A #172A5B #23418C #2F58BD #5579D4

Accessibility & contrast

On white

9.52
#23418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#23418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23418C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23418C#FFFFFF#000000##FFFFFF
##23418C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #23418c;
/* rgb */ color: rgb(35, 65, 140);
/* oklch */ color: oklch(39.8% 0.130 264.7);
Tailwind
colors: {
  custom: {
    50: '#6d75ae',
    500: '#23418c',
    950: '#000000',
  },
}
SCSS
$custom: #23418c;
$custom-light: #6d75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23418c",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 222.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.12999,
    "h": 264.7
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#23418C
secondary
#B89B52
accent
#B645E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23418C

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

Preview Lab → · Contrast checker → · Palette generator →

#23418C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva