#182E4F#182E4F

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

Color values

HEX#182E4F
RGBrgb(24, 46, 79)
HSLhsl(216, 53%, 20%)
HSVhsv(216, 70%, 31%)
CMYKcmyk(69.6%, 41.8%, 0%, 69%)
CIE-LABlab(18.85, 3.54, -22.88)
CIE-LCHlch(18.85, 23.15, 278.79°)
OKLaboklab(30.14% -0.0134 -0.065)
OKLCHoklch(30.14% 0.066 258.3)
XYZxyz(2.7645, 2.7124, 7.7735)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E4F #4F3918
analogous
#18494F #182E4F #1D184F
triadic
#182E4F #4F182E #2E4F18
tetradic
#182E4F #4F1849 #4F3918 #184F1D
square
#182E4F #4F1849 #4F3918 #184F1D
split-complementary
#182E4F #4F1D18 #494F18
monochromatic
#070E17 #0A1320 #182E4F #26497E #3565AD

Accessibility & contrast

On white

13.61
#182E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E4F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E4F#FFFFFF#000000##FFFFFF
##182E4F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#182B4E
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182e4f;
/* rgb */ color: rgb(24, 46, 79);
/* oklch */ color: oklch(30.1% 0.066 258.3);
Tailwind
colors: {
  custom: {
    50: '#5b6680',
    500: '#182e4f',
    950: '#000000',
  },
}
SCSS
$custom: #182e4f;
$custom-light: #5b6680;
$custom-dark: #000000;
JSON
{
  "hex": "#182e4f",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 216,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30142,
    "c": 0.06637,
    "h": 258.3
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#182E4F
secondary
#86693D
accent
#A24BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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