#182E6B#182E6B

#182E6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.110 H 265.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#182E6B
RGBrgb(24, 46, 107)
HSLhsl(224, 63%, 26%)
HSVhsv(224, 78%, 42%)
CMYKcmyk(77.6%, 57%, 0%, 58%)
CIE-LABlab(20.86, 15.12, -38.14)
CIE-LCHlch(20.86, 41.03, 291.62°)
OKLaboklab(32.33% -0.0085 -0.1098)
OKLCHoklch(32.33% 0.11 265.6)
XYZxyz(4.0066, 3.2093, 14.3154)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E6B #6B5518
analogous
#18576B #182E6B #2B186B
triadic
#182E6B #6B182E #2E6B18
tetradic
#182E6B #6B1857 #6B5518 #186B2B
square
#182E6B #6B1857 #6B5518 #186B2B
split-complementary
#182E6B #6B2B18 #576B18
monochromatic
#060B19 #0D1939 #182E6B #23439D #2E59CF

Accessibility & contrast

On white

12.79
#182E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E6B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E6B#FFFFFF#000000##FFFFFF
##182E6B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182e6b;
/* rgb */ color: rgb(24, 46, 107);
/* oklch */ color: oklch(32.3% 0.110 265.6);
Tailwind
colors: {
  custom: {
    50: '#626696',
    500: '#182e6b',
    950: '#000000',
  },
}
SCSS
$custom: #182e6b;
$custom-light: #626696;
$custom-dark: #000000;
JSON
{
  "hex": "#182e6b",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 224.096,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.11018,
    "h": 265.6
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#182E6B
secondary
#A1873E
accent
#BB41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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