#182074#182074

#182074 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.141 H 270.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#182074
RGBrgb(24, 32, 116)
HSLhsl(235, 66%, 27%)
HSVhsv(235, 79%, 45%)
CMYKcmyk(79.3%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.86, 28.60, -48.86)
CIE-LCHlch(17.86, 56.61, 300.34°)
OKLaboklab(30.36% 0.0014 -0.1414)
OKLCHoklch(30.36% 0.141 270.6)
XYZxyz(4.0445, 2.4877, 16.7866)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182074 #746C18
analogous
#184E74 #182074 #3E1874
triadic
#182074 #741820 #207418
tetradic
#182074 #74184E #746C18 #18743E
square
#182074 #74184E #746C18 #18743E
split-complementary
#182074 #743E18 #4E7418
monochromatic
#050719 #0E1241 #182074 #222EA7 #3240D5

Accessibility & contrast

On white

14.02
#182074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#182074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182074
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182074#FFFFFF#000000##FFFFFF
##1820741.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182074;
/* rgb */ color: rgb(24, 32, 116);
/* oklch */ color: oklch(30.4% 0.141 270.6);
Tailwind
colors: {
  custom: {
    50: '#665c9d',
    500: '#182074',
    950: '#000000',
  },
}
SCSS
$custom: #182074;
$custom-light: #665c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#182074",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 234.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.14143,
    "h": 270.6
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#182074
secondary
#A9A03F
accent
#DA3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182074

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

Preview Lab → · Contrast checker → · Palette generator →

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