#18296D#18296D

#18296D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.120 H 268.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#18296D
RGBrgb(24, 41, 109)
HSLhsl(228, 64%, 26%)
HSVhsv(228, 78%, 43%)
CMYKcmyk(78%, 62.4%, 0%, 57.3%)
CIE-LABlab(19.57, 19.55, -41.53)
CIE-LCHlch(19.57, 45.91, 295.21°)
OKLaboklab(31.41% -0.0043 -0.1199)
OKLCHoklch(31.41% 0.12 268)
XYZxyz(3.9290, 2.8838, 14.8146)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18296D #6D5C18
analogous
#18536D #18296D #31186D
triadic
#18296D #6D1829 #296D18
tetradic
#18296D #6D1853 #6D5C18 #186D31
square
#18296D #6D1853 #6D5C18 #186D31
split-complementary
#18296D #6D3118 #536D18
monochromatic
#060919 #0D163B #18296D #233C9F #2E4FD1

Accessibility & contrast

On white

13.32
#18296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18296D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18296D#FFFFFF#000000##FFFFFF
##18296D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18296d;
/* rgb */ color: rgb(24, 41, 109);
/* oklch */ color: oklch(31.4% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#636297',
    500: '#18296d',
    950: '#000000',
  },
}
SCSS
$custom: #18296d;
$custom-light: #636297;
$custom-dark: #000000;
JSON
{
  "hex": "#18296d",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 228,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31411,
    "c": 0.11999,
    "h": 268
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18296D

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

Preview Lab → · Contrast checker → · Palette generator →

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