#18307B#18307B

#18307B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.131 H 266.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#18307B
RGBrgb(24, 48, 123)
HSLhsl(225, 67%, 29%)
HSVhsv(225, 80%, 48%)
CMYKcmyk(80.5%, 61%, 0%, 51.8%)
CIE-LABlab(22.78, 20.27, -45.27)
CIE-LCHlch(22.78, 49.60, 294.12°)
OKLaboklab(34.19% -0.0092 -0.1308)
OKLCHoklch(34.19% 0.131 266)
XYZxyz(5.0075, 3.7376, 19.1926)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18307B #7B6318
analogous
#18627B #18307B #32187B
triadic
#18307B #7B1830 #307B18
tetradic
#18307B #7B1862 #7B6318 #187B32
square
#18307B #7B1862 #7B6318 #187B32
split-complementary
#18307B #7B3218 #627B18
monochromatic
#050A1A #0E1C48 #18307B #2244AE #365DD8

Accessibility & contrast

On white

12.02
#18307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#18307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18307B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18307B#FFFFFF#000000##FFFFFF
##18307B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18307b;
/* rgb */ color: rgb(24, 48, 123);
/* oklch */ color: oklch(34.2% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#6667a2',
    500: '#18307b',
    950: '#000000',
  },
}
SCSS
$custom: #18307b;
$custom-light: #6667a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18307b",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 225.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.13109,
    "h": 266
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18307B

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

Preview Lab → · Contrast checker → · Palette generator →

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