#182C75#182C75

#182C75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.128 H 267.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#182C75
RGBrgb(24, 44, 117)
HSLhsl(227, 66%, 28%)
HSVhsv(227, 79%, 46%)
CMYKcmyk(79.5%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.13, 20.67, -44.15)
CIE-LCHlch(21.13, 48.74, 295.09°)
OKLaboklab(32.79% -0.0064 -0.1275)
OKLCHoklch(32.79% 0.128 267.1)
XYZxyz(4.4871, 3.2794, 17.2227)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C75 #756118
analogous
#185A75 #182C75 #331875
triadic
#182C75 #75182C #2C7518
tetradic
#182C75 #75185A #756118 #187533
square
#182C75 #75185A #756118 #187533
split-complementary
#182C75 #753318 #5A7518
monochromatic
#050A19 #0E1942 #182C75 #223FA8 #3255D5

Accessibility & contrast

On white

12.68
#182C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C75
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C75#FFFFFF#000000##FFFFFF
##182C751.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182c75;
/* rgb */ color: rgb(24, 44, 117);
/* oklch */ color: oklch(32.8% 0.128 267.1);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#182c75',
    950: '#000000',
  },
}
SCSS
$custom: #182c75;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#182c75",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 227.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.12769,
    "h": 267.1
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#182C75
secondary
#AA933F
accent
#C43FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C75

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

Preview Lab → · Contrast checker → · Palette generator →

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