#182E62#182E62

#182E62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.096 H 264.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#182E62
RGBrgb(24, 46, 98)
HSLhsl(222, 61%, 24%)
HSVhsv(222, 76%, 38%)
CMYKcmyk(75.5%, 53.1%, 0%, 61.6%)
CIE-LABlab(20.16, 11.38, -33.41)
CIE-LCHlch(20.16, 35.29, 288.81°)
OKLaboklab(31.57% -0.0095 -0.0959)
OKLCHoklch(31.57% 0.096 264.3)
XYZxyz(3.5575, 3.0297, 11.9502)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E62 #624C18
analogous
#185362 #182E62 #271862
triadic
#182E62 #62182E #2E6218
tetradic
#182E62 #621853 #624C18 #186227
square
#182E62 #621853 #624C18 #186227
split-complementary
#182E62 #622718 #536218
monochromatic
#060C19 #0C1731 #182E62 #244593 #305CC4

Accessibility & contrast

On white

13.08
#182E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E62
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E62#FFFFFF#000000##FFFFFF
##182E621.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182e62;
/* rgb */ color: rgb(24, 46, 98);
/* oklch */ color: oklch(31.6% 0.096 264.3);
Tailwind
colors: {
  custom: {
    50: '#60668f',
    500: '#182e62',
    950: '#000000',
  },
}
SCSS
$custom: #182e62;
$custom-light: #60668f;
$custom-dark: #000000;
JSON
{
  "hex": "#182e62",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 222.162,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31571,
    "c": 0.0964,
    "h": 264.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#182E62
secondary
#987D3E
accent
#B444E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182E62

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

Preview Lab → · Contrast checker → · Palette generator →

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