#18296F#18296F

#18296F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.123 H 268.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#18296F
RGBrgb(24, 41, 111)
HSLhsl(228, 64%, 26%)
HSVhsv(228, 78%, 44%)
CMYKcmyk(78.4%, 63.1%, 0%, 56.5%)
CIE-LABlab(19.75, 20.37, -42.54)
CIE-LCHlch(19.75, 47.16, 295.59°)
OKLaboklab(31.6% -0.0042 -0.1229)
OKLCHoklch(31.6% 0.123 268)
XYZxyz(4.0379, 2.9273, 15.3881)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18296F #6F5E18
analogous
#18556F #18296F #33186F
triadic
#18296F #6F1829 #296F18
tetradic
#18296F #6F1855 #6F5E18 #186F33
square
#18296F #6F1855 #6F5E18 #186F33
split-complementary
#18296F #6F3318 #556F18
monochromatic
#050919 #0D163D #18296F #233CA1 #2F4FD2

Accessibility & contrast

On white

13.24
#18296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#18296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18296F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18296F#FFFFFF#000000##FFFFFF
##18296F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18296f;
/* rgb */ color: rgb(24, 41, 111);
/* oklch */ color: oklch(31.6% 0.123 268.0);
Tailwind
colors: {
  custom: {
    50: '#646299',
    500: '#18296f',
    950: '#000000',
  },
}
SCSS
$custom: #18296f;
$custom-light: #646299;
$custom-dark: #000000;
JSON
{
  "hex": "#18296f",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 228.276,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31599,
    "c": 0.12293,
    "h": 268
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#18296F
secondary
#A5913E
accent
#C740E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #18296F

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

Preview Lab → · Contrast checker → · Palette generator →

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