#182C4E#182C4E

#182C4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.067 H 260.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#182C4E
RGBrgb(24, 44, 78)
HSLhsl(218, 53%, 20%)
HSVhsv(218, 69%, 31%)
CMYKcmyk(69.2%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.12, 4.57, -23.36)
CIE-LCHlch(18.12, 23.81, 281.07°)
OKLaboklab(29.55% -0.0113 -0.0664)
OKLCHoklch(29.55% 0.067 260.4)
XYZxyz(2.6520, 2.5454, 7.5578)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C4E #4E3A18
analogous
#18474E #182C4E #1F184E
triadic
#182C4E #4E182C #2C4E18
tetradic
#182C4E #4E1847 #4E3A18 #184E1F
square
#182C4E #4E1847 #4E3A18 #184E1F
split-complementary
#182C4E #4E1F18 #474E18
monochromatic
#070D17 #0A121F #182C4E #26467D #3561AC

Accessibility & contrast

On white

13.91
#182C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C4E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C4E#FFFFFF#000000##FFFFFF
##182C4E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182c4e;
/* rgb */ color: rgb(24, 44, 78);
/* oklch */ color: oklch(29.6% 0.067 260.4);
Tailwind
colors: {
  custom: {
    50: '#5b6480',
    500: '#182c4e',
    950: '#000000',
  },
}
SCSS
$custom: #182c4e;
$custom-light: #5b6480;
$custom-dark: #000000;
JSON
{
  "hex": "#182c4e",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 217.778,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29554,
    "c": 0.06739,
    "h": 260.4
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#182C4E
secondary
#856A3D
accent
#A74BDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#182C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva