#182E5C#182E5C

#182E5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.087 H 263.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#182E5C
RGBrgb(24, 46, 92)
HSLhsl(221, 59%, 23%)
HSVhsv(221, 74%, 36%)
CMYKcmyk(73.9%, 50%, 0%, 63.9%)
CIE-LABlab(19.72, 8.89, -30.16)
CIE-LCHlch(19.72, 31.45, 286.41°)
OKLaboklab(31.1% -0.0105 -0.0864)
OKLCHoklch(31.1% 0.087 263.1)
XYZxyz(3.2848, 2.9206, 10.5138)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E5C #5C4618
analogous
#18505C #182E5C #24185C
triadic
#182E5C #5C182E #2E5C18
tetradic
#182E5C #5C1850 #5C4618 #185C24
square
#182E5C #5C1850 #5C4618 #185C24
split-complementary
#182E5C #5C2418 #505C18
monochromatic
#060C18 #0B162B #182E5C #25468D #315FBD

Accessibility & contrast

On white

13.26
#182E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E5C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E5C#FFFFFF#000000##FFFFFF
##182E5C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335E
Deuteranopia (green-blind)
#082D5B
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182e5c;
/* rgb */ color: rgb(24, 46, 92);
/* oklch */ color: oklch(31.1% 0.087 263.1);
Tailwind
colors: {
  custom: {
    50: '#5e668a',
    500: '#182e5c',
    950: '#000000',
  },
}
SCSS
$custom: #182e5c;
$custom-light: #5e668a;
$custom-dark: #000000;
JSON
{
  "hex": "#182e5c",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 220.588,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.08701,
    "h": 263.1
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#182E5C
secondary
#93773D
accent
#AF46E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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