#182045#182045

#182045 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.070 H 271.6°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#182045
RGBrgb(24, 32, 69)
HSLhsl(229, 48%, 18%)
HSVhsv(229, 65%, 27%)
CMYKcmyk(65.2%, 53.6%, 0%, 72.9%)
CIE-LABlab(13.57, 9.81, -24.46)
CIE-LCHlch(13.57, 26.36, 291.86°)
OKLaboklab(25.86% 0.0019 -0.0698)
OKLCHoklch(25.86% 0.07 271.6)
XYZxyz(1.9670, 1.6567, 5.8452)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182045 #453D18
analogous
#183645 #182045 #261845
triadic
#182045 #451820 #204518
tetradic
#182045 #451836 #453D18 #184526
square
#182045 #451836 #453D18 #184526
split-complementary
#182045 #452618 #364518
monochromatic
#080B17 #080B18 #182045 #283572 #384AA0

Accessibility & contrast

On white

15.77
#182045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#182045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182045
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182045#FFFFFF#000000##FFFFFF
##1820451.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #182045;
/* rgb */ color: rgb(24, 32, 69);
/* oklch */ color: oklch(25.9% 0.070 271.6);
Tailwind
colors: {
  custom: {
    50: '#5a5b79',
    500: '#182045',
    950: '#000000',
  },
}
SCSS
$custom: #182045;
$custom-light: #5a5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#182045",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 229.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25858,
    "c": 0.06987,
    "h": 271.6
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#182045
secondary
#7C713D
accent
#C050D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182045

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

Preview Lab → · Contrast checker → · Palette generator →

#182045 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva