#182E4D#182E4D

#182E4D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.063 H 257.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#182E4D
RGBrgb(24, 46, 77)
HSLhsl(215, 52%, 20%)
HSVhsv(215, 69%, 30%)
CMYKcmyk(68.8%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.73, 2.73, -21.72)
CIE-LCHlch(18.73, 21.89, 277.15°)
OKLaboklab(30.01% -0.014 -0.0616)
OKLCHoklch(30.01% 0.063 257.2)
XYZxyz(2.6928, 2.6838, 7.3958)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E4D #4D3718
analogous
#18494D #182E4D #1C184D
triadic
#182E4D #4D182E #2E4D18
tetradic
#182E4D #4D1849 #4D3718 #184D1C
square
#182E4D #4D1849 #4D3718 #184D1C
split-complementary
#182E4D #4D1C18 #494D18
monochromatic
#070E17 #09121E #182E4D #274A7C #3566AA

Accessibility & contrast

On white

13.66
#182E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E4D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E4D#FFFFFF#000000##FFFFFF
##182E4D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304E
Deuteranopia (green-blind)
#192B4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182e4d;
/* rgb */ color: rgb(24, 46, 77);
/* oklch */ color: oklch(30.0% 0.063 257.2);
Tailwind
colors: {
  custom: {
    50: '#5b667f',
    500: '#182e4d',
    950: '#000000',
  },
}
SCSS
$custom: #182e4d;
$custom-light: #5b667f;
$custom-dark: #000000;
JSON
{
  "hex": "#182e4d",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 215.094,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30005,
    "c": 0.06319,
    "h": 257.2
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#182E4D
secondary
#84663D
accent
#A04CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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