#182F58#182F58

#182F58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.079 H 261.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#182F58
RGBrgb(24, 47, 88)
HSLhsl(218, 57%, 22%)
HSVhsv(218, 73%, 35%)
CMYKcmyk(72.7%, 46.6%, 0%, 65.5%)
CIE-LABlab(19.77, 6.50, -27.44)
CIE-LCHlch(19.77, 28.20, 283.33°)
OKLaboklab(31.04% -0.0124 -0.0784)
OKLCHoklch(31.04% 0.079 261)
XYZxyz(3.1540, 2.9315, 9.6302)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F58 #584118
analogous
#184F58 #182F58 #211858
triadic
#182F58 #58182F #2F5818
tetradic
#182F58 #58184F #584118 #185821
square
#182F58 #58184F #584118 #185821
split-complementary
#182F58 #582118 #4F5818
monochromatic
#070D18 #0B1528 #182F58 #254988 #3262B8

Accessibility & contrast

On white

13.24
#182F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F58
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F58#FFFFFF#000000##FFFFFF
##182F581.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#112D57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f58;
/* rgb */ color: rgb(24, 47, 88);
/* oklch */ color: oklch(31.0% 0.079 261.0);
Tailwind
colors: {
  custom: {
    50: '#5d6787',
    500: '#182f58',
    950: '#000000',
  },
}
SCSS
$custom: #182f58;
$custom-light: #5d6787;
$custom-dark: #000000;
JSON
{
  "hex": "#182f58",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 218.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31039,
    "c": 0.07933,
    "h": 261
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#182F58
secondary
#8F713D
accent
#A947E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #182F58

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

Preview Lab → · Contrast checker → · Palette generator →

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