#18296A#18296A

#18296A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.116 H 267.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#18296A
RGBrgb(24, 41, 106)
HSLhsl(228, 63%, 25%)
HSVhsv(228, 77%, 42%)
CMYKcmyk(77.4%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.31, 18.33, -40.02)
CIE-LCHlch(19.31, 44.01, 294.61°)
OKLaboklab(31.13% -0.0043 -0.1154)
OKLCHoklch(31.13% 0.116 267.8)
XYZxyz(3.7702, 2.8203, 13.9785)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18296A #6A5918
analogous
#18526A #18296A #30186A
triadic
#18296A #6A1829 #296A18
tetradic
#18296A #6A1852 #6A5918 #186A30
square
#18296A #6A1852 #6A5918 #186A30
split-complementary
#18296A #6A3018 #526A18
monochromatic
#060A19 #0D1638 #18296A #233C9C #2F50CE

Accessibility & contrast

On white

13.43
#18296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#18296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18296A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18296A#FFFFFF#000000##FFFFFF
##18296A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18296a;
/* rgb */ color: rgb(24, 41, 106);
/* oklch */ color: oklch(31.1% 0.116 267.8);
Tailwind
colors: {
  custom: {
    50: '#626295',
    500: '#18296a',
    950: '#000000',
  },
}
SCSS
$custom: #18296a;
$custom-light: #626295;
$custom-dark: #000000;
JSON
{
  "hex": "#18296a",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 227.561,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31132,
    "c": 0.11553,
    "h": 267.8
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#18296A
secondary
#A08C3E
accent
#C442E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #18296A

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

Preview Lab → · Contrast checker → · Palette generator →

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