#18254A#18254A

#18254A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.071 H 267.1°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#18254A
RGBrgb(24, 37, 74)
HSLhsl(224, 51%, 19%)
HSVhsv(224, 68%, 29%)
CMYKcmyk(67.6%, 50%, 0%, 71%)
CIE-LABlab(15.55, 8.09, -24.75)
CIE-LCHlch(15.55, 26.04, 288.11°)
OKLaboklab(27.48% -0.0035 -0.0706)
OKLCHoklch(27.48% 0.071 267.1)
XYZxyz(2.2739, 2.0115, 6.7457)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18254A #4A3D18
analogous
#183E4A #18254A #24184A
triadic
#18254A #4A1825 #254A18
tetradic
#18254A #4A183E #4A3D18 #184A24
square
#18254A #4A183E #4A3D18 #184A24
split-complementary
#18254A #4A2418 #3E4A18
monochromatic
#070C17 #090E1C #18254A #273C78 #3653A6

Accessibility & contrast

On white

14.97
#18254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#18254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18254A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18254A#FFFFFF#000000##FFFFFF
##18254A1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14294B
Deuteranopia (green-blind)
#0C2549
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18254a;
/* rgb */ color: rgb(24, 37, 74);
/* oklch */ color: oklch(27.5% 0.071 267.1);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#18254a',
    950: '#000000',
  },
}
SCSS
$custom: #18254a;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18254a",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 224.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27482,
    "c": 0.07069,
    "h": 267.1
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#18254A
secondary
#816F3D
accent
#B64DDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #18254A

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

Preview Lab → · Contrast checker → · Palette generator →

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