#182E75#182E75

#182E75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.125 H 266.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#182E75
RGBrgb(24, 46, 117)
HSLhsl(226, 66%, 28%)
HSVhsv(226, 79%, 46%)
CMYKcmyk(79.5%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.70, 19.24, -43.22)
CIE-LCHlch(21.70, 47.31, 294.00°)
OKLaboklab(33.22% -0.0079 -0.1248)
OKLCHoklch(33.22% 0.125 266.4)
XYZxyz(4.5634, 3.4320, 17.2481)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E75 #755F18
analogous
#185D75 #182E75 #301875
triadic
#182E75 #75182E #2E7518
tetradic
#182E75 #75185D #755F18 #187530
square
#182E75 #75185D #755F18 #187530
split-complementary
#182E75 #753018 #5D7518
monochromatic
#050A19 #0E1A42 #182E75 #2242A8 #3259D5

Accessibility & contrast

On white

12.45
#182E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E75
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E75#FFFFFF#000000##FFFFFF
##182E751.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182e75;
/* rgb */ color: rgb(24, 46, 117);
/* oklch */ color: oklch(33.2% 0.125 266.4);
Tailwind
colors: {
  custom: {
    50: '#65669d',
    500: '#182e75',
    950: '#000000',
  },
}
SCSS
$custom: #182e75;
$custom-light: #65669d;
$custom-dark: #000000;
JSON
{
  "hex": "#182e75",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 225.806,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.12503,
    "h": 266.4
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#182E75
secondary
#AA913F
accent
#C13FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E75

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

Preview Lab → · Contrast checker → · Palette generator →

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