#182672#182672

#182672 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.131 H 269.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#182672
RGBrgb(24, 38, 114)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 45%)
CMYKcmyk(78.9%, 66.7%, 0%, 55.3%)
CIE-LABlab(19.20, 23.70, -45.37)
CIE-LCHlch(19.20, 51.19, 297.59°)
OKLaboklab(31.28% -0.0022 -0.1312)
OKLCHoklch(31.28% 0.131 269.1)
XYZxyz(4.1060, 2.7949, 16.2394)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182672 #726418
analogous
#185372 #182672 #371872
triadic
#182672 #721826 #267218
tetradic
#182672 #721853 #726418 #187237
square
#182672 #721853 #726418 #187237
split-complementary
#182672 #723718 #537218
monochromatic
#050819 #0D153F #182672 #2337A5 #314AD4

Accessibility & contrast

On white

13.47
#182672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182672
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182672#FFFFFF#000000##FFFFFF
##1826721.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182672;
/* rgb */ color: rgb(24, 38, 114);
/* oklch */ color: oklch(31.3% 0.131 269.1);
Tailwind
colors: {
  custom: {
    50: '#65609b',
    500: '#182672',
    950: '#000000',
  },
}
SCSS
$custom: #182672;
$custom-light: #65609b;
$custom-dark: #000000;
JSON
{
  "hex": "#182672",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 230.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.13121,
    "h": 269.1
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#182672
secondary
#A7973E
accent
#CE40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182672

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

Preview Lab → · Contrast checker → · Palette generator →

#182672 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva