#182F66#182F66

#182F66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.101 H 264.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#182F66
RGBrgb(24, 47, 102)
HSLhsl(222, 62%, 25%)
HSVhsv(222, 76%, 40%)
CMYKcmyk(76.5%, 53.9%, 0%, 60%)
CIE-LABlab(20.77, 12.32, -35.04)
CIE-LCHlch(20.77, 37.14, 289.37°)
OKLaboklab(32.13% -0.01 -0.1007)
OKLCHoklch(32.13% 0.101 264.4)
XYZxyz(3.7906, 3.1861, 12.9830)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F66 #664F18
analogous
#185666 #182F66 #281866
triadic
#182F66 #66182F #2F6618
tetradic
#182F66 #661856 #664F18 #186628
square
#182F66 #661856 #664F18 #186628
split-complementary
#182F66 #662818 #566618
monochromatic
#060B19 #0C1834 #182F66 #244698 #2F5DC9

Accessibility & contrast

On white

12.83
#182F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F66
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F66#FFFFFF#000000##FFFFFF
##182F661.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3668
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182f66;
/* rgb */ color: rgb(24, 47, 102);
/* oklch */ color: oklch(32.1% 0.101 264.4);
Tailwind
colors: {
  custom: {
    50: '#616792',
    500: '#182f66',
    950: '#000000',
  },
}
SCSS
$custom: #182f66;
$custom-light: #616792;
$custom-dark: #000000;
JSON
{
  "hex": "#182f66",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 222.308,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.10119,
    "h": 264.4
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#182F66
secondary
#9C803E
accent
#B543E5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #182F66

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

Preview Lab → · Contrast checker → · Palette generator →

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