#18296E#18296E

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

Color values

HEX#18296E
RGBrgb(24, 41, 110)
HSLhsl(228, 64%, 26%)
HSVhsv(228, 78%, 43%)
CMYKcmyk(78.2%, 62.7%, 0%, 56.9%)
CIE-LABlab(19.66, 19.96, -42.04)
CIE-LCHlch(19.66, 46.54, 295.40°)
OKLaboklab(31.51% -0.0043 -0.1214)
OKLCHoklch(31.51% 0.121 268)
XYZxyz(3.9831, 2.9054, 15.0997)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18296E #6E5D18
analogous
#18546E #18296E #32186E
triadic
#18296E #6E1829 #296E18
tetradic
#18296E #6E1854 #6E5D18 #186E32
square
#18296E #6E1854 #6E5D18 #186E32
split-complementary
#18296E #6E3218 #546E18
monochromatic
#050919 #0D163C #18296E #233CA0 #2F4FD2

Accessibility & contrast

On white

13.28
#18296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#18296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18296E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18296E#FFFFFF#000000##FFFFFF
##18296E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18296e;
/* rgb */ color: rgb(24, 41, 110);
/* oklch */ color: oklch(31.5% 0.121 268.0);
Tailwind
colors: {
  custom: {
    50: '#636298',
    500: '#18296e',
    950: '#000000',
  },
}
SCSS
$custom: #18296e;
$custom-light: #636298;
$custom-dark: #000000;
JSON
{
  "hex": "#18296e",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 228.14,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31505,
    "c": 0.12146,
    "h": 268
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#18296E
secondary
#A4903E
accent
#C641E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #18296E

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

Preview Lab → · Contrast checker → · Palette generator →

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