#18274E#18274E

#18274E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.074 H 266.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#18274E
RGBrgb(24, 39, 78)
HSLhsl(223, 53%, 20%)
HSVhsv(223, 69%, 31%)
CMYKcmyk(69.2%, 50%, 0%, 69.4%)
CIE-LABlab(16.48, 8.24, -25.98)
CIE-LCHlch(16.48, 27.26, 287.60°)
OKLaboklab(28.29% -0.0052 -0.0742)
OKLCHoklch(28.29% 0.074 266)
XYZxyz(2.4769, 2.1951, 7.4994)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18274E #4E3F18
analogous
#18424E #18274E #24184E
triadic
#18274E #4E1827 #274E18
tetradic
#18274E #4E1842 #4E3F18 #184E24
square
#18274E #4E1842 #4E3F18 #184E24
split-complementary
#18274E #4E2418 #424E18
monochromatic
#070C17 #0A101F #18274E #263E7D #3556AC

Accessibility & contrast

On white

14.59
#18274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#18274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18274E
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18274E#FFFFFF#000000##FFFFFF
##18274E1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#0B264D
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #18274e;
/* rgb */ color: rgb(24, 39, 78);
/* oklch */ color: oklch(28.3% 0.074 266.0);
Tailwind
colors: {
  custom: {
    50: '#5b6080',
    500: '#18274e',
    950: '#000000',
  },
}
SCSS
$custom: #18274e;
$custom-light: #5b6080;
$custom-dark: #000000;
JSON
{
  "hex": "#18274e",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 223.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.28287,
    "c": 0.07439,
    "h": 266
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#18274E
secondary
#85713D
accent
#B44BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18274E

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

Preview Lab → · Contrast checker → · Palette generator →

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