#18306B#18306B

#18306B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.107 H 264.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#18306B
RGBrgb(24, 48, 107)
HSLhsl(223, 63%, 26%)
HSVhsv(223, 78%, 42%)
CMYKcmyk(77.6%, 55.1%, 0%, 58%)
CIE-LABlab(21.47, 13.67, -37.16)
CIE-LCHlch(21.47, 39.60, 290.20°)
OKLaboklab(32.78% -0.0103 -0.1069)
OKLCHoklch(32.78% 0.107 264.5)
XYZxyz(4.0865, 3.3692, 14.3420)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18306B #6B5318
analogous
#18596B #18306B #2A186B
triadic
#18306B #6B1830 #306B18
tetradic
#18306B #6B1859 #6B5318 #186B2A
square
#18306B #6B1859 #6B5318 #186B2A
split-complementary
#18306B #6B2A18 #596B18
monochromatic
#060B19 #0D1A39 #18306B #23469D #2E5DCF

Accessibility & contrast

On white

12.54
#18306B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#18306B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18306B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18306B#FFFFFF#000000##FFFFFF
##18306B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18306b;
/* rgb */ color: rgb(24, 48, 107);
/* oklch */ color: oklch(32.8% 0.107 264.5);
Tailwind
colors: {
  custom: {
    50: '#626796',
    500: '#18306b',
    950: '#000000',
  },
}
SCSS
$custom: #18306b;
$custom-light: #626796;
$custom-dark: #000000;
JSON
{
  "hex": "#18306b",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 222.651,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.10743,
    "h": 264.5
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#18306B
secondary
#A1843E
accent
#B741E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18306B

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

Preview Lab → · Contrast checker → · Palette generator →

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