#182F95#182F95

#182F95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.168 H 266.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#182F95
RGBrgb(24, 47, 149)
HSLhsl(229, 72%, 34%)
HSVhsv(229, 84%, 58%)
CMYKcmyk(83.9%, 68.5%, 0%, 41.6%)
CIE-LABlab(24.94, 31.26, -57.97)
CIE-LCHlch(24.94, 65.86, 298.34°)
OKLaboklab(36.53% -0.009 -0.168)
OKLCHoklch(36.53% 0.168 266.9)
XYZxyz(6.8161, 4.3963, 28.9173)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F95 #957E18
analogous
#186E95 #182F95 #401895
triadic
#182F95 #95182F #2F9518
tetradic
#182F95 #95186E #957E18 #189540
square
#182F95 #95186E #957E18 #189540
split-complementary
#182F95 #954018 #6E9518
monochromatic
#070E2C #101E60 #182F95 #2040CA #4663E1

Accessibility & contrast

On white

11.17
#182F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#182F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F95
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F95#FFFFFF#000000##FFFFFF
##182F951.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #182f95;
/* rgb */ color: rgb(24, 47, 149);
/* oklch */ color: oklch(36.5% 0.168 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e67b5',
    500: '#182f95',
    950: '#000000',
  },
}
SCSS
$custom: #182f95;
$custom-light: #6e67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182f95",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 228.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.1682,
    "h": 266.9
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#182F95
secondary
#C2AC46
accent
#CD39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #182F95

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

Preview Lab → · Contrast checker → · Palette generator →

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