#182E8E#182E8E

#182E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.160 H 267.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#182E8E
RGBrgb(24, 46, 142)
HSLhsl(229, 71%, 33%)
HSVhsv(229, 83%, 56%)
CMYKcmyk(83.1%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.00, 29.23, -55.19)
CIE-LCHlch(24.00, 62.45, 297.91°)
OKLaboklab(35.63% -0.0081 -0.1598)
OKLCHoklch(35.63% 0.16 267.1)
XYZxyz(6.2345, 4.1004, 26.0488)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E8E #8E7818
analogous
#18698E #182E8E #3D188E
triadic
#182E8E #8E182E #2E8E18
tetradic
#182E8E #8E1869 #8E7818 #188E3D
square
#182E8E #8E1869 #8E7818 #188E3D
split-complementary
#182E8E #8E3D18 #698E18
monochromatic
#060C25 #0F1D5A #182E8E #213FC2 #415FDF

Accessibility & contrast

On white

11.54
#182E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#182E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E8E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E8E#FFFFFF#000000##FFFFFF
##182E8E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182e8e;
/* rgb */ color: rgb(24, 46, 142);
/* oklch */ color: oklch(35.6% 0.160 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c66b0',
    500: '#182e8e',
    950: '#000000',
  },
}
SCSS
$custom: #182e8e;
$custom-light: #6c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#182e8e",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 228.814,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.16006,
    "h": 267.1
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#182E8E
secondary
#C0A842
accent
#CC3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #182E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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