#18307D#18307D

#18307D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.134 H 266.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#18307D
RGBrgb(24, 48, 125)
HSLhsl(226, 68%, 29%)
HSVhsv(226, 81%, 49%)
CMYKcmyk(80.8%, 61.6%, 0%, 51%)
CIE-LABlab(22.96, 21.08, -46.25)
CIE-LCHlch(22.96, 50.83, 294.50°)
OKLaboklab(34.38% -0.0091 -0.1336)
OKLCHoklch(34.38% 0.134 266.1)
XYZxyz(5.1340, 3.7882, 19.8587)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18307D #7D6518
analogous
#18637D #18307D #33187D
triadic
#18307D #7D1830 #307D18
tetradic
#18307D #7D1863 #7D6518 #187D33
square
#18307D #7D1863 #7D6518 #187D33
split-complementary
#18307D #7D3318 #637D18
monochromatic
#050A1A #0E1C4A #18307D #2244B0 #375DD9

Accessibility & contrast

On white

11.95
#18307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#18307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18307D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18307D#FFFFFF#000000##FFFFFF
##18307D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18307d;
/* rgb */ color: rgb(24, 48, 125);
/* oklch */ color: oklch(34.4% 0.134 266.1);
Tailwind
colors: {
  custom: {
    50: '#6767a3',
    500: '#18307d',
    950: '#000000',
  },
}
SCSS
$custom: #18307d;
$custom-light: #6767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18307d",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 225.743,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.13396,
    "h": 266.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#18307D
secondary
#B2963F
accent
#C13DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18307D

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

Preview Lab → · Contrast checker → · Palette generator →

#18307D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva