#182E5F#182E5F

#182E5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.092 H 263.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#182E5F
RGBrgb(24, 46, 95)
HSLhsl(221, 60%, 23%)
HSVhsv(221, 75%, 37%)
CMYKcmyk(74.7%, 51.6%, 0%, 62.7%)
CIE-LABlab(19.94, 10.13, -31.79)
CIE-LCHlch(19.94, 33.37, 287.68°)
OKLaboklab(31.33% -0.01 -0.0912)
OKLCHoklch(31.33% 0.092 263.8)
XYZxyz(3.4185, 2.9741, 11.2181)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E5F #5F4918
analogous
#18515F #182E5F #25185F
triadic
#182E5F #5F182E #2E5F18
tetradic
#182E5F #5F1851 #5F4918 #185F25
square
#182E5F #5F1851 #5F4918 #185F25
split-complementary
#182E5F #5F2518 #515F18
monochromatic
#060C18 #0C162E #182E5F #244690 #315DC1

Accessibility & contrast

On white

13.17
#182E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E5F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E5F#FFFFFF#000000##FFFFFF
##182E5F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#032D5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182e5f;
/* rgb */ color: rgb(24, 46, 95);
/* oklch */ color: oklch(31.3% 0.092 263.8);
Tailwind
colors: {
  custom: {
    50: '#5f668d',
    500: '#182e5f',
    950: '#000000',
  },
}
SCSS
$custom: #182e5f;
$custom-light: #5f668d;
$custom-dark: #000000;
JSON
{
  "hex": "#182e5f",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 221.408,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.09172,
    "h": 263.8
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#182E5F
secondary
#957A3D
accent
#B245E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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