#182C95#182C95

#182C95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.172 H 267.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#182C95
RGBrgb(24, 44, 149)
HSLhsl(230, 72%, 34%)
HSVhsv(230, 84%, 58%)
CMYKcmyk(83.9%, 70.5%, 0%, 41.6%)
CIE-LABlab(24.21, 33.24, -59.17)
CIE-LCHlch(24.21, 67.87, 299.32°)
OKLaboklab(35.99% -0.0077 -0.1715)
OKLCHoklch(35.99% 0.172 267.4)
XYZxyz(6.7003, 4.1647, 28.8787)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C95 #958118
analogous
#186B95 #182C95 #431895
triadic
#182C95 #95182C #2C9518
tetradic
#182C95 #95186B #958118 #189543
square
#182C95 #95186B #958118 #189543
split-complementary
#182C95 #954318 #6B9518
monochromatic
#070D2C #101C60 #182C95 #203CCA #465FE1

Accessibility & contrast

On white

11.46
#182C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#182C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C95
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C95#FFFFFF#000000##FFFFFF
##182C951.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #182c95;
/* rgb */ color: rgb(24, 44, 149);
/* oklch */ color: oklch(36.0% 0.172 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e65b5',
    500: '#182c95',
    950: '#000000',
  },
}
SCSS
$custom: #182c95;
$custom-light: #6e65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182c95",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 230.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.17165,
    "h": 267.4
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#182C95
secondary
#C2AF46
accent
#D239EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #182C95

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

Preview Lab → · Contrast checker → · Palette generator →

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