#182A6F#182A6F

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

Color values

HEX#182A6F
RGBrgb(24, 42, 111)
HSLhsl(228, 64%, 26%)
HSVhsv(228, 78%, 44%)
CMYKcmyk(78.4%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.03, 19.65, -42.08)
CIE-LCHlch(20.03, 46.44, 295.03°)
OKLaboklab(31.81% -0.005 -0.1215)
OKLCHoklch(31.81% 0.122 267.6)
XYZxyz(4.0729, 2.9974, 15.3997)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A6F #6F5D18
analogous
#18566F #182A6F #32186F
triadic
#182A6F #6F182A #2A6F18
tetradic
#182A6F #6F1856 #6F5D18 #186F32
square
#182A6F #6F1856 #6F5D18 #186F32
split-complementary
#182A6F #6F3218 #566F18
monochromatic
#050A19 #0D173D #182A6F #233DA1 #2F51D2

Accessibility & contrast

On white

13.13
#182A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A6F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A6F#FFFFFF#000000##FFFFFF
##182A6F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182a6f;
/* rgb */ color: rgb(24, 42, 111);
/* oklch */ color: oklch(31.8% 0.122 267.6);
Tailwind
colors: {
  custom: {
    50: '#636399',
    500: '#182a6f',
    950: '#000000',
  },
}
SCSS
$custom: #182a6f;
$custom-light: #636399;
$custom-dark: #000000;
JSON
{
  "hex": "#182a6f",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 227.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3181,
    "c": 0.12159,
    "h": 267.6
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#182A6F
secondary
#A58F3E
accent
#C540E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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