#182A6E#182A6E

#182A6E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.120 H 267.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#182A6E
RGBrgb(24, 42, 110)
HSLhsl(227, 64%, 26%)
HSVhsv(227, 78%, 43%)
CMYKcmyk(78.2%, 61.8%, 0%, 56.9%)
CIE-LABlab(19.95, 19.24, -41.57)
CIE-LCHlch(19.95, 45.81, 294.84°)
OKLaboklab(31.72% -0.005 -0.12)
OKLCHoklch(31.72% 0.12 267.6)
XYZxyz(4.0181, 2.9755, 15.1114)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A6E #6E5C18
analogous
#18556E #182A6E #31186E
triadic
#182A6E #6E182A #2A6E18
tetradic
#182A6E #6E1855 #6E5C18 #186E31
square
#182A6E #6E1855 #6E5C18 #186E31
split-complementary
#182A6E #6E3118 #556E18
monochromatic
#050A19 #0D173C #182A6E #233DA0 #2F51D2

Accessibility & contrast

On white

13.16
#182A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A6E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A6E#FFFFFF#000000##FFFFFF
##182A6E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182a6e;
/* rgb */ color: rgb(24, 42, 110);
/* oklch */ color: oklch(31.7% 0.120 267.6);
Tailwind
colors: {
  custom: {
    50: '#636398',
    500: '#182a6e',
    950: '#000000',
  },
}
SCSS
$custom: #182a6e;
$custom-light: #636398;
$custom-dark: #000000;
JSON
{
  "hex": "#182a6e",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 227.442,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.12012,
    "h": 267.6
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#182A6E
secondary
#A48E3E
accent
#C441E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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