#18306F#18306F

#18306F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.113 H 265.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#18306F
RGBrgb(24, 48, 111)
HSLhsl(223, 64%, 26%)
HSVhsv(223, 78%, 44%)
CMYKcmyk(78.4%, 56.8%, 0%, 56.5%)
CIE-LABlab(21.78, 15.33, -39.23)
CIE-LCHlch(21.78, 42.12, 291.35°)
OKLaboklab(33.12% -0.0099 -0.113)
OKLCHoklch(33.12% 0.113 265)
XYZxyz(4.3019, 3.4553, 15.4761)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18306F #6F5718
analogous
#185C6F #18306F #2C186F
triadic
#18306F #6F1830 #306F18
tetradic
#18306F #6F185C #6F5718 #186F2C
square
#18306F #6F185C #6F5718 #186F2C
split-complementary
#18306F #6F2C18 #5C6F18
monochromatic
#050B19 #0D1A3D #18306F #2346A1 #2F5CD2

Accessibility & contrast

On white

12.42
#18306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#18306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18306F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18306F#FFFFFF#000000##FFFFFF
##18306F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18306f;
/* rgb */ color: rgb(24, 48, 111);
/* oklch */ color: oklch(33.1% 0.113 265.0);
Tailwind
colors: {
  custom: {
    50: '#636799',
    500: '#18306f',
    950: '#000000',
  },
}
SCSS
$custom: #18306f;
$custom-light: #636799;
$custom-dark: #000000;
JSON
{
  "hex": "#18306f",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 223.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33123,
    "c": 0.11346,
    "h": 265
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#18306F
secondary
#A5883E
accent
#B940E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18306F

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

Preview Lab → · Contrast checker → · Palette generator →

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