#182245#182245

#182245 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.067 H 269.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#182245
RGBrgb(24, 34, 69)
HSLhsl(227, 48%, 18%)
HSVhsv(227, 65%, 27%)
CMYKcmyk(65.2%, 50.7%, 0%, 72.9%)
CIE-LABlab(14.22, 8.30, -23.43)
CIE-LCHlch(14.22, 24.85, 289.52°)
OKLaboklab(26.35% -0.0007 -0.0668)
OKLCHoklch(26.35% 0.067 269.4)
XYZxyz(2.0225, 1.7678, 5.8637)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182245 #453B18
analogous
#183845 #182245 #241845
triadic
#182245 #451822 #224518
tetradic
#182245 #451838 #453B18 #184524
square
#182245 #451838 #453B18 #184524
split-complementary
#182245 #452418 #384518
monochromatic
#080B17 #080C18 #182245 #283872 #384FA0

Accessibility & contrast

On white

15.51
#182245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#182245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182245
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182245#FFFFFF#000000##FFFFFF
##1822451.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#0C2244
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182245;
/* rgb */ color: rgb(24, 34, 69);
/* oklch */ color: oklch(26.4% 0.067 269.4);
Tailwind
colors: {
  custom: {
    50: '#5a5c79',
    500: '#182245',
    950: '#000000',
  },
}
SCSS
$custom: #182245;
$custom-light: #5a5c79;
$custom-dark: #000000;
JSON
{
  "hex": "#182245",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 226.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26351,
    "c": 0.06677,
    "h": 269.4
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#182245
secondary
#7C6E3D
accent
#BA50D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182245

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

Preview Lab → · Contrast checker → · Palette generator →

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