#182674#182674

#182674 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.134 H 269.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#182674
RGBrgb(24, 38, 116)
HSLhsl(231, 66%, 27%)
HSVhsv(231, 79%, 45%)
CMYKcmyk(79.3%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.40, 24.50, -46.34)
CIE-LCHlch(19.40, 52.42, 297.86°)
OKLaboklab(31.48% -0.0022 -0.134)
OKLCHoklch(31.48% 0.134 269)
XYZxyz(4.2211, 2.8409, 16.8455)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182674 #746618
analogous
#185474 #182674 #381874
triadic
#182674 #741826 #267418
tetradic
#182674 #741854 #746618 #187438
square
#182674 #741854 #746618 #187438
split-complementary
#182674 #743818 #547418
monochromatic
#050819 #0E1541 #182674 #2237A7 #324BD5

Accessibility & contrast

On white

13.39
#182674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182674
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182674#FFFFFF#000000##FFFFFF
##1826741.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182674;
/* rgb */ color: rgb(24, 38, 116);
/* oklch */ color: oklch(31.5% 0.134 269.0);
Tailwind
colors: {
  custom: {
    50: '#65609d',
    500: '#182674',
    950: '#000000',
  },
}
SCSS
$custom: #182674;
$custom-light: #65609d;
$custom-dark: #000000;
JSON
{
  "hex": "#182674",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 230.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.13406,
    "h": 269
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#182674
secondary
#A9993F
accent
#CF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182674

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

Preview Lab → · Contrast checker → · Palette generator →

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