#18347C#18347C

#18347C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.127 H 264.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#18347C
RGBrgb(24, 52, 124)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(80.6%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.01, 17.84, -43.90)
CIE-LCHlch(24.01, 47.38, 292.11°)
OKLaboklab(35.14% -0.0121 -0.1267)
OKLCHoklch(35.14% 0.127 264.6)
XYZxyz(5.2415, 4.1048, 19.5809)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347C #7C6018
analogous
#18667C #18347C #2E187C
triadic
#18347C #7C1834 #347C18
tetradic
#18347C #7C1866 #7C6018 #187C2E
square
#18347C #7C1866 #7C6018 #187C2E
split-complementary
#18347C #7C2E18 #667C18
monochromatic
#050B1A #0E1E49 #18347C #224AAF #3664D8

Accessibility & contrast

On white

11.53
#18347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#18347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347C#FFFFFF#000000##FFFFFF
##18347C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18347c;
/* rgb */ color: rgb(24, 52, 124);
/* oklch */ color: oklch(35.1% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#666ba3',
    500: '#18347c',
    950: '#000000',
  },
}
SCSS
$custom: #18347c;
$custom-light: #666ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#18347c",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 223.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.12724,
    "h": 264.6
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#18347C
secondary
#B1913F
accent
#BA3DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18347C

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

Preview Lab → · Contrast checker → · Palette generator →

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