#182F63#182F63

#182F63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.097 H 263.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#182F63
RGBrgb(24, 47, 99)
HSLhsl(222, 61%, 24%)
HSVhsv(222, 76%, 39%)
CMYKcmyk(75.8%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.55, 11.07, -33.44)
CIE-LCHlch(20.55, 35.23, 288.32°)
OKLaboklab(31.89% -0.0104 -0.096)
OKLCHoklch(31.89% 0.097 263.8)
XYZxyz(3.6445, 3.1277, 12.2136)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F63 #634C18
analogous
#185563 #182F63 #271863
triadic
#182F63 #63182F #2F6318
tetradic
#182F63 #631855 #634C18 #186327
square
#182F63 #631855 #634C18 #186327
split-complementary
#182F63 #632718 #556318
monochromatic
#060C19 #0C1832 #182F63 #244694 #305EC6

Accessibility & contrast

On white

12.92
#182F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F63
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F63#FFFFFF#000000##FFFFFF
##182F631.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113565
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f63;
/* rgb */ color: rgb(24, 47, 99);
/* oklch */ color: oklch(31.9% 0.097 263.8);
Tailwind
colors: {
  custom: {
    50: '#606790',
    500: '#182f63',
    950: '#000000',
  },
}
SCSS
$custom: #182f63;
$custom-light: #606790;
$custom-dark: #000000;
JSON
{
  "hex": "#182f63",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 221.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3189,
    "c": 0.09656,
    "h": 263.8
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#182F63
secondary
#997D3E
accent
#B344E4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #182F63

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

Preview Lab → · Contrast checker → · Palette generator →

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