#182E4E#182E4E

#182E4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.065 H 257.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#182E4E
RGBrgb(24, 46, 78)
HSLhsl(216, 53%, 20%)
HSVhsv(216, 69%, 31%)
CMYKcmyk(69.2%, 41%, 0%, 69.4%)
CIE-LABlab(18.79, 3.13, -22.30)
CIE-LCHlch(18.79, 22.52, 277.99°)
OKLaboklab(30.07% -0.0137 -0.0633)
OKLCHoklch(30.07% 0.065 257.8)
XYZxyz(2.7283, 2.6980, 7.5832)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E4E #4E3818
analogous
#18494E #182E4E #1D184E
triadic
#182E4E #4E182E #2E4E18
tetradic
#182E4E #4E1849 #4E3818 #184E1D
square
#182E4E #4E1849 #4E3818 #184E1D
split-complementary
#182E4E #4E1D18 #494E18
monochromatic
#070E17 #0A121F #182E4E #264A7D #3565AC

Accessibility & contrast

On white

13.64
#182E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E4E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E4E#FFFFFF#000000##FFFFFF
##182E4E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#192B4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182e4e;
/* rgb */ color: rgb(24, 46, 78);
/* oklch */ color: oklch(30.1% 0.065 257.8);
Tailwind
colors: {
  custom: {
    50: '#5b6680',
    500: '#182e4e',
    950: '#000000',
  },
}
SCSS
$custom: #182e4e;
$custom-light: #5b6680;
$custom-dark: #000000;
JSON
{
  "hex": "#182e4e",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 215.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.06478,
    "h": 257.8
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#182E4E
secondary
#85683D
accent
#A14BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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