#182E6C#182E6C

#182E6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.112 H 265.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#182E6C
RGBrgb(24, 46, 108)
HSLhsl(224, 64%, 26%)
HSVhsv(224, 78%, 42%)
CMYKcmyk(77.8%, 57.4%, 0%, 57.6%)
CIE-LABlab(20.94, 15.53, -38.66)
CIE-LCHlch(20.94, 41.66, 291.89°)
OKLaboklab(32.41% -0.0084 -0.1114)
OKLCHoklch(32.41% 0.112 265.7)
XYZxyz(4.0595, 3.2305, 14.5940)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E6C #6C5618
analogous
#18586C #182E6C #2C186C
triadic
#182E6C #6C182E #2E6C18
tetradic
#182E6C #6C1858 #6C5618 #186C2C
square
#182E6C #6C1858 #6C5618 #186C2C
split-complementary
#182E6C #6C2C18 #586C18
monochromatic
#060B19 #0D193A #182E6C #23439E #2E59D0

Accessibility & contrast

On white

12.76
#182E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E6C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E6C#FFFFFF#000000##FFFFFF
##182E6C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182e6c;
/* rgb */ color: rgb(24, 46, 108);
/* oklch */ color: oklch(32.4% 0.112 265.7);
Tailwind
colors: {
  custom: {
    50: '#626697',
    500: '#182e6c',
    950: '#000000',
  },
}
SCSS
$custom: #182e6c;
$custom-light: #626697;
$custom-dark: #000000;
JSON
{
  "hex": "#182e6c",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 224.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.11169,
    "h": 265.7
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#182E6C
secondary
#A2883E
accent
#BB41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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