#182F5E#182F5E

#182F5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.089 H 262.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#182F5E
RGBrgb(24, 47, 94)
HSLhsl(220, 59%, 23%)
HSVhsv(220, 74%, 37%)
CMYKcmyk(74.5%, 50%, 0%, 63.1%)
CIE-LABlab(20.18, 8.99, -30.74)
CIE-LCHlch(20.18, 32.03, 286.30°)
OKLaboklab(31.49% -0.0112 -0.0881)
OKLCHoklch(31.49% 0.089 262.8)
XYZxyz(3.4129, 3.0350, 10.9935)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F5E #5E4718
analogous
#18525E #182F5E #24185E
triadic
#182F5E #5E182F #2F5E18
tetradic
#182F5E #5E1852 #5E4718 #185E24
square
#182F5E #5E1852 #5E4718 #185E24
split-complementary
#182F5E #5E2418 #525E18
monochromatic
#060C18 #0C172D #182F5E #24478F #3160C0

Accessibility & contrast

On white

13.07
#182F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F5E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F5E#FFFFFF#000000##FFFFFF
##182F5E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173460
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f5e;
/* rgb */ color: rgb(24, 47, 94);
/* oklch */ color: oklch(31.5% 0.089 262.8);
Tailwind
colors: {
  custom: {
    50: '#5f678c',
    500: '#182f5e',
    950: '#000000',
  },
}
SCSS
$custom: #182f5e;
$custom-light: #5f678c;
$custom-dark: #000000;
JSON
{
  "hex": "#182f5e",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 220.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.08878,
    "h": 262.8
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#182F5E
secondary
#94783D
accent
#AF45E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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