#182E7F#182E7F

#182E7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.139 H 266.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#182E7F
RGBrgb(24, 46, 127)
HSLhsl(227, 68%, 30%)
HSVhsv(227, 81%, 50%)
CMYKcmyk(81.1%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.58, 23.30, -48.13)
CIE-LCHlch(22.58, 53.47, 295.83°)
OKLaboklab(34.15% -0.0077 -0.1392)
OKLCHoklch(34.15% 0.139 266.8)
XYZxyz(5.1831, 3.6799, 20.5117)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7F #7F6918
analogous
#18627F #182E7F #35187F
triadic
#182E7F #7F182E #2E7F18
tetradic
#182E7F #7F1862 #7F6918 #187F35
square
#182E7F #7F1862 #7F6918 #187F35
split-complementary
#182E7F #7F3518 #627F18
monochromatic
#05091A #0E1B4C #182E7F #2241B2 #385AD9

Accessibility & contrast

On white

12.10
#182E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#182E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E7F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E7F#FFFFFF#000000##FFFFFF
##182E7F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182e7f;
/* rgb */ color: rgb(24, 46, 127);
/* oklch */ color: oklch(34.2% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#6866a5',
    500: '#182e7f',
    950: '#000000',
  },
}
SCSS
$custom: #182e7f;
$custom-light: #6866a5;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7f",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 227.184,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.1394,
    "h": 266.8
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#182E7F
secondary
#B39B3F
accent
#C63DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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