#181074#181074

#181074 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.157 H 273.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#181074
RGBrgb(24, 16, 116)
HSLhsl(245, 76%, 26%)
HSVhsv(245, 86%, 45%)
CMYKcmyk(79.3%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.54, 38.01, -54.35)
CIE-LCHlch(14.54, 66.32, 304.97°)
OKLaboklab(28.02% 0.0082 -0.1572)
OKLCHoklch(28.02% 0.157 273)
XYZxyz(3.7133, 1.8253, 16.6762)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181074 #6C7410
analogous
#103A74 #181074 #4A1074
triadic
#181074 #741810 #107418
tetradic
#181074 #74103A #6C7410 #10744A
square
#181074 #74103A #6C7410 #10744A
split-complementary
#181074 #744A10 #3A7410
monochromatic
#06041B #0D093E #181074 #2317AA #2E1FE0

Accessibility & contrast

On white

15.38
#181074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181074
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181074#FFFFFF#000000##FFFFFF
##1810741.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181074;
/* rgb */ color: rgb(24, 16, 116);
/* oklch */ color: oklch(28.0% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#68529d',
    500: '#181074',
    950: '#000000',
  },
}
SCSS
$custom: #181074;
$custom-light: #68529d;
$custom-dark: #000000;
JSON
{
  "hex": "#181074",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 244.8,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28016,
    "c": 0.15741,
    "h": 273
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#181074
secondary
#A2AB35
accent
#F235E3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181074

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

Preview Lab → · Contrast checker → · Palette generator →

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