#18306A#18306A

#18306A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.106 H 264.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#18306A
RGBrgb(24, 48, 106)
HSLhsl(222, 63%, 25%)
HSVhsv(222, 77%, 42%)
CMYKcmyk(77.4%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.39, 13.26, -36.64)
CIE-LCHlch(21.39, 38.97, 289.89°)
OKLaboklab(32.7% -0.0104 -0.1054)
OKLCHoklch(32.7% 0.106 264.4)
XYZxyz(4.0342, 3.3483, 14.0665)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18306A #6A5218
analogous
#18596A #18306A #29186A
triadic
#18306A #6A1830 #306A18
tetradic
#18306A #6A1859 #6A5218 #186A29
square
#18306A #6A1859 #6A5218 #186A29
split-complementary
#18306A #6A2918 #596A18
monochromatic
#060B19 #0D1938 #18306A #23479C #2F5DCE

Accessibility & contrast

On white

12.58
#18306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18306A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18306A#FFFFFF#000000##FFFFFF
##18306A1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18306a;
/* rgb */ color: rgb(24, 48, 106);
/* oklch */ color: oklch(32.7% 0.106 264.4);
Tailwind
colors: {
  custom: {
    50: '#626795',
    500: '#18306a',
    950: '#000000',
  },
}
SCSS
$custom: #18306a;
$custom-light: #626795;
$custom-dark: #000000;
JSON
{
  "hex": "#18306a",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 222.439,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.10592,
    "h": 264.4
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#18306A
secondary
#A0833E
accent
#B642E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18306A

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

Preview Lab → · Contrast checker → · Palette generator →

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