#18306E#18306E

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

Color values

HEX#18306E
RGBrgb(24, 48, 110)
HSLhsl(223, 64%, 26%)
HSVhsv(223, 78%, 43%)
CMYKcmyk(78.2%, 56.4%, 0%, 56.9%)
CIE-LABlab(21.70, 14.92, -38.72)
CIE-LCHlch(21.70, 41.49, 291.07°)
OKLaboklab(33.04% -0.01 -0.1115)
OKLCHoklch(33.04% 0.112 264.9)
XYZxyz(4.2471, 3.4334, 15.1877)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18306E #6E5618
analogous
#185B6E #18306E #2B186E
triadic
#18306E #6E1830 #306E18
tetradic
#18306E #6E185B #6E5618 #186E2B
square
#18306E #6E185B #6E5618 #186E2B
split-complementary
#18306E #6E2B18 #5B6E18
monochromatic
#050B19 #0D1A3C #18306E #2346A0 #2F5CD2

Accessibility & contrast

On white

12.45
#18306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18306E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18306E#FFFFFF#000000##FFFFFF
##18306E1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18306e;
/* rgb */ color: rgb(24, 48, 110);
/* oklch */ color: oklch(33.0% 0.112 264.9);
Tailwind
colors: {
  custom: {
    50: '#636798',
    500: '#18306e',
    950: '#000000',
  },
}
SCSS
$custom: #18306e;
$custom-light: #636798;
$custom-dark: #000000;
JSON
{
  "hex": "#18306e",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 223.256,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.11197,
    "h": 264.9
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#18306E
secondary
#A4873E
accent
#B941E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18306E

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

Preview Lab → · Contrast checker → · Palette generator →

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