#182790#182790

#182790 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.171 H 268.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#182790
RGBrgb(24, 39, 144)
HSLhsl(233, 71%, 33%)
HSVhsv(233, 83%, 56%)
CMYKcmyk(83.3%, 72.9%, 0%, 43.5%)
CIE-LABlab(22.51, 34.58, -58.89)
CIE-LCHlch(22.51, 68.29, 300.42°)
OKLaboklab(34.61% -0.0051 -0.1706)
OKLCHoklch(34.61% 0.171 268.3)
XYZxyz(6.1345, 3.6581, 26.7629)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182790 #908118
analogous
#186390 #182790 #451890
triadic
#182790 #901827 #279018
tetradic
#182790 #901863 #908118 #189045
square
#182790 #901863 #908118 #189045
split-complementary
#182790 #904518 #639018
monochromatic
#070B27 #0F195C #182790 #2135C4 #4356E0

Accessibility & contrast

On white

12.13
#182790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182790
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182790#FFFFFF#000000##FFFFFF
##1827901.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182790;
/* rgb */ color: rgb(24, 39, 144);
/* oklch */ color: oklch(34.6% 0.171 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d61b2',
    500: '#182790',
    950: '#000000',
  },
}
SCSS
$custom: #182790;
$custom-light: #6d61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#182790",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 232.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34608,
    "c": 0.17073,
    "h": 268.3
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#182790
secondary
#C0B143
accent
#D83AEE
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #182790

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

Preview Lab → · Contrast checker → · Palette generator →

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