#182F75#182F75

#182F75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.124 H 266.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#182F75
RGBrgb(24, 47, 117)
HSLhsl(225, 66%, 28%)
HSVhsv(225, 79%, 46%)
CMYKcmyk(79.5%, 59.8%, 0%, 54.1%)
CIE-LABlab(21.98, 18.53, -42.75)
CIE-LCHlch(21.98, 46.59, 293.43°)
OKLaboklab(33.43% -0.0087 -0.1234)
OKLCHoklch(33.43% 0.124 266)
XYZxyz(4.6030, 3.5111, 17.2613)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F75 #755E18
analogous
#185E75 #182F75 #2F1875
triadic
#182F75 #75182F #2F7518
tetradic
#182F75 #75185E #755E18 #18752F
square
#182F75 #75185E #755E18 #18752F
split-complementary
#182F75 #752F18 #5E7518
monochromatic
#050A19 #0E1B42 #182F75 #2243A8 #325BD5

Accessibility & contrast

On white

12.34
#182F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F75
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F75#FFFFFF#000000##FFFFFF
##182F751.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182f75;
/* rgb */ color: rgb(24, 47, 117);
/* oklch */ color: oklch(33.4% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#65679d',
    500: '#182f75',
    950: '#000000',
  },
}
SCSS
$custom: #182f75;
$custom-light: #65679d;
$custom-dark: #000000;
JSON
{
  "hex": "#182f75",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 225.161,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.12369,
    "h": 266
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#182F75
secondary
#AA903F
accent
#BF3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F75

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

Preview Lab → · Contrast checker → · Palette generator →

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