#18306D#18306D

#18306D is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.110 H 264.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#18306D
RGBrgb(24, 48, 109)
HSLhsl(223, 64%, 26%)
HSVhsv(223, 78%, 43%)
CMYKcmyk(78%, 56%, 0%, 57.3%)
CIE-LABlab(21.62, 14.50, -38.20)
CIE-LCHlch(21.62, 40.86, 290.79°)
OKLaboklab(32.95% -0.0101 -0.11)
OKLCHoklch(32.95% 0.11 264.8)
XYZxyz(4.1930, 3.4118, 14.9026)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18306D #6D5518
analogous
#185A6D #18306D #2A186D
triadic
#18306D #6D1830 #306D18
tetradic
#18306D #6D185A #6D5518 #186D2A
square
#18306D #6D185A #6D5518 #186D2A
split-complementary
#18306D #6D2A18 #5A6D18
monochromatic
#060B19 #0D1A3B #18306D #23469F #2E5CD1

Accessibility & contrast

On white

12.48
#18306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#18306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18306D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18306D#FFFFFF#000000##FFFFFF
##18306D1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18306d;
/* rgb */ color: rgb(24, 48, 109);
/* oklch */ color: oklch(33.0% 0.110 264.8);
Tailwind
colors: {
  custom: {
    50: '#626797',
    500: '#18306d',
    950: '#000000',
  },
}
SCSS
$custom: #18306d;
$custom-light: #626797;
$custom-dark: #000000;
JSON
{
  "hex": "#18306d",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 223.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.11046,
    "h": 264.8
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#18306D
secondary
#A3863E
accent
#B841E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18306D

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

Preview Lab → · Contrast checker → · Palette generator →

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