#18296C#18296C

#18296C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.119 H 267.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#18296C
RGBrgb(24, 41, 108)
HSLhsl(228, 64%, 26%)
HSVhsv(228, 78%, 42%)
CMYKcmyk(77.8%, 62%, 0%, 57.6%)
CIE-LABlab(19.48, 19.15, -41.03)
CIE-LCHlch(19.48, 45.28, 295.01°)
OKLaboklab(31.32% -0.0043 -0.1184)
OKLCHoklch(31.32% 0.119 267.9)
XYZxyz(3.8755, 2.8624, 14.5327)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18296C #6C5B18
analogous
#18536C #18296C #31186C
triadic
#18296C #6C1829 #296C18
tetradic
#18296C #6C1853 #6C5B18 #186C31
square
#18296C #6C1853 #6C5B18 #186C31
split-complementary
#18296C #6C3118 #536C18
monochromatic
#060A19 #0D163A #18296C #233C9E #2E4FD0

Accessibility & contrast

On white

13.35
#18296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#18296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18296C
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18296C#FFFFFF#000000##FFFFFF
##18296C1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18296c;
/* rgb */ color: rgb(24, 41, 108);
/* oklch */ color: oklch(31.3% 0.119 267.9);
Tailwind
colors: {
  custom: {
    50: '#636297',
    500: '#18296c',
    950: '#000000',
  },
}
SCSS
$custom: #18296c;
$custom-light: #636297;
$custom-dark: #000000;
JSON
{
  "hex": "#18296c",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 227.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31317,
    "c": 0.11851,
    "h": 267.9
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#18296C
secondary
#A28E3E
accent
#C541E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #18296C

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

Preview Lab → · Contrast checker → · Palette generator →

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