#182B7E#182B7E

#182B7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.142 H 267.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#182B7E
RGBrgb(24, 43, 126)
HSLhsl(229, 68%, 29%)
HSVhsv(229, 81%, 49%)
CMYKcmyk(81%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.68, 24.99, -48.97)
CIE-LCHlch(21.68, 54.98, 297.04°)
OKLaboklab(33.46% -0.0058 -0.1417)
OKLCHoklch(33.46% 0.142 267.6)
XYZxyz(5.0052, 3.4277, 20.1324)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B7E #7E6B18
analogous
#185E7E #182B7E #38187E
triadic
#182B7E #7E182B #2B7E18
tetradic
#182B7E #7E185E #7E6B18 #187E38
square
#182B7E #7E185E #7E6B18 #187E38
split-complementary
#182B7E #7E3818 #5E7E18
monochromatic
#05091A #0E194B #182B7E #223DB1 #3756D9

Accessibility & contrast

On white

12.46
#182B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B7E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B7E#FFFFFF#000000##FFFFFF
##182B7E1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182b7e;
/* rgb */ color: rgb(24, 43, 126);
/* oklch */ color: oklch(33.5% 0.142 267.6);
Tailwind
colors: {
  custom: {
    50: '#6864a4',
    500: '#182b7e',
    950: '#000000',
  },
}
SCSS
$custom: #182b7e;
$custom-light: #6864a4;
$custom-dark: #000000;
JSON
{
  "hex": "#182b7e",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 228.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.14181,
    "h": 267.6
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#182B7E
secondary
#B29D3F
accent
#CA3DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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