#18346B#18346B

#18346B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.102 H 262.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#18346B
RGBrgb(24, 52, 107)
HSLhsl(220, 63%, 26%)
HSVhsv(220, 78%, 42%)
CMYKcmyk(77.6%, 51.4%, 0%, 58%)
CIE-LABlab(22.69, 10.79, -35.18)
CIE-LCHlch(22.69, 36.80, 287.06°)
OKLaboklab(33.72% -0.0139 -0.101)
OKLCHoklch(33.72% 0.102 262.1)
XYZxyz(4.2576, 3.7112, 14.3990)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346B #6B4F18
analogous
#185D6B #18346B #25186B
triadic
#18346B #6B1834 #346B18
tetradic
#18346B #6B185D #6B4F18 #186B25
square
#18346B #6B185D #6B4F18 #186B25
split-complementary
#18346B #6B2518 #5D6B18
monochromatic
#060C19 #0D1C39 #18346B #234C9D #2E65CF

Accessibility & contrast

On white

12.05
#18346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#18346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18346B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346B#FFFFFF#000000##FFFFFF
##18346B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18346b;
/* rgb */ color: rgb(24, 52, 107);
/* oklch */ color: oklch(33.7% 0.102 262.1);
Tailwind
colors: {
  custom: {
    50: '#626a96',
    500: '#18346b',
    950: '#000000',
  },
}
SCSS
$custom: #18346b;
$custom-light: #626a96;
$custom-dark: #000000;
JSON
{
  "hex": "#18346b",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 219.759,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.10199,
    "h": 262.1
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#18346B
secondary
#A17F3E
accent
#AF41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18346B

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

Preview Lab → · Contrast checker → · Palette generator →

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