#182974#182974

#182974 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.130 H 268.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#182974
RGBrgb(24, 41, 116)
HSLhsl(229, 66%, 27%)
HSVhsv(229, 79%, 45%)
CMYKcmyk(79.3%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.21, 22.39, -45.01)
CIE-LCHlch(20.21, 50.28, 296.45°)
OKLaboklab(32.08% -0.0043 -0.1301)
OKLCHoklch(32.08% 0.13 268.1)
XYZxyz(4.3209, 3.0405, 16.8788)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182974 #746318
analogous
#185774 #182974 #351874
triadic
#182974 #741829 #297418
tetradic
#182974 #741857 #746318 #187435
square
#182974 #741857 #746318 #187435
split-complementary
#182974 #743518 #577418
monochromatic
#050919 #0E1741 #182974 #223BA7 #3250D5

Accessibility & contrast

On white

13.06
#182974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182974
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182974#FFFFFF#000000##FFFFFF
##1829741.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182974;
/* rgb */ color: rgb(24, 41, 116);
/* oklch */ color: oklch(32.1% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#65629d',
    500: '#182974',
    950: '#000000',
  },
}
SCSS
$custom: #182974;
$custom-light: #65629d;
$custom-dark: #000000;
JSON
{
  "hex": "#182974",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 228.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.13019,
    "h": 268.1
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#182974
secondary
#A9963F
accent
#C93FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182974

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

Preview Lab → · Contrast checker → · Palette generator →

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