#182895#182895

#182895 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.176 H 268.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#182895
RGBrgb(24, 40, 149)
HSLhsl(232, 72%, 34%)
HSVhsv(232, 84%, 58%)
CMYKcmyk(83.9%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.27, 35.80, -60.72)
CIE-LCHlch(23.27, 70.48, 300.52°)
OKLaboklab(35.32% -0.0061 -0.176)
OKLCHoklch(35.32% 0.176 268)
XYZxyz(6.5584, 3.8809, 28.8314)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182895 #958518
analogous
#186795 #182895 #471895
triadic
#182895 #951828 #289518
tetradic
#182895 #951867 #958518 #189547
square
#182895 #951867 #958518 #189547
split-complementary
#182895 #954718 #679518
monochromatic
#070C2C #101A60 #182895 #2036CA #465AE1

Accessibility & contrast

On white

11.82
#182895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182895
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182895#FFFFFF#000000##FFFFFF
##1828951.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182895;
/* rgb */ color: rgb(24, 40, 149);
/* oklch */ color: oklch(35.3% 0.176 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e62b5',
    500: '#182895',
    950: '#000000',
  },
}
SCSS
$custom: #182895;
$custom-light: #6e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182895",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 232.32,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3532,
    "c": 0.17608,
    "h": 268
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#182895
secondary
#C2B346
accent
#D839EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #182895

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

Preview Lab → · Contrast checker → · Palette generator →

#182895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva