#182671#182671

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

Color values

HEX#182671
RGBrgb(24, 38, 113)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 44%)
CMYKcmyk(78.8%, 66.4%, 0%, 55.7%)
CIE-LABlab(19.11, 23.31, -44.88)
CIE-LCHlch(19.11, 50.57, 297.44°)
OKLaboklab(31.18% -0.0021 -0.1298)
OKLCHoklch(31.18% 0.13 269.1)
XYZxyz(4.0494, 2.7722, 15.9413)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182671 #716318
analogous
#185371 #182671 #371871
triadic
#182671 #711826 #267118
tetradic
#182671 #711853 #716318 #187137
square
#182671 #711853 #716318 #187137
split-complementary
#182671 #713718 #537118
monochromatic
#050819 #0D153F #182671 #2337A3 #304AD3

Accessibility & contrast

On white

13.51
#182671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182671
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182671#FFFFFF#000000##FFFFFF
##1826711.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182671;
/* rgb */ color: rgb(24, 38, 113);
/* oklch */ color: oklch(31.2% 0.130 269.1);
Tailwind
colors: {
  custom: {
    50: '#64609b',
    500: '#182671',
    950: '#000000',
  },
}
SCSS
$custom: #182671;
$custom-light: #64609b;
$custom-dark: #000000;
JSON
{
  "hex": "#182671",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 230.562,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3118,
    "c": 0.12978,
    "h": 269.1
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #182671

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

Preview Lab → · Contrast checker → · Palette generator →

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