#18307A#18307A

#18307A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.130 H 265.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#18307A
RGBrgb(24, 48, 122)
HSLhsl(225, 67%, 29%)
HSVhsv(225, 80%, 48%)
CMYKcmyk(80.3%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.70, 19.86, -44.78)
CIE-LCHlch(22.70, 48.98, 293.92°)
OKLaboklab(34.1% -0.0092 -0.1293)
OKLCHoklch(34.1% 0.13 265.9)
XYZxyz(4.9453, 3.7127, 18.8646)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18307A #7A6218
analogous
#18617A #18307A #31187A
triadic
#18307A #7A1830 #307A18
tetradic
#18307A #7A1861 #7A6218 #187A31
square
#18307A #7A1861 #7A6218 #187A31
split-complementary
#18307A #7A3118 #617A18
monochromatic
#050A1A #0E1C47 #18307A #2244AD #355DD7

Accessibility & contrast

On white

12.05
#18307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#18307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18307A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18307A#FFFFFF#000000##FFFFFF
##18307A1.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)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18307a;
/* rgb */ color: rgb(24, 48, 122);
/* oklch */ color: oklch(34.1% 0.130 265.9);
Tailwind
colors: {
  custom: {
    50: '#6667a1',
    500: '#18307a',
    950: '#000000',
  },
}
SCSS
$custom: #18307a;
$custom-light: #6667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18307a",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 225.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34099,
    "c": 0.12965,
    "h": 265.9
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#18307A
secondary
#AF933F
accent
#C03EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18307A

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

Preview Lab → · Contrast checker → · Palette generator →

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