#181062#181062

#181062 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.8% C 0.135 H 275.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#181062
RGBrgb(24, 16, 98)
HSLhsl(246, 72%, 22%)
HSVhsv(246, 84%, 38%)
CMYKcmyk(75.5%, 83.7%, 0%, 61.6%)
CIE-LABlab(12.26, 31.97, -46.32)
CIE-LCHlch(12.26, 56.28, 304.61°)
OKLaboklab(25.77% 0.0133 -0.1339)
OKLCHoklch(25.77% 0.135 275.7)
XYZxyz(2.7659, 1.4464, 11.6863)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181062 #5A6210
analogous
#103162 #181062 #411062
triadic
#181062 #621810 #106218
tetradic
#181062 #621031 #5A6210 #106241
square
#181062 #621031 #5A6210 #106241
split-complementary
#181062 #624110 #316210
monochromatic
#06041A #0B072D #181062 #251997 #3221CB

Accessibility & contrast

On white

16.29
#181062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181062
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181062#FFFFFF#000000##FFFFFF
##1810621.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001C61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181062;
/* rgb */ color: rgb(24, 16, 98);
/* oklch */ color: oklch(25.8% 0.135 275.7);
Tailwind
colors: {
  custom: {
    50: '#635090',
    500: '#181062',
    950: '#000000',
  },
}
SCSS
$custom: #181062;
$custom-light: #635090;
$custom-dark: #000000;
JSON
{
  "hex": "#181062",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 245.854,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25771,
    "c": 0.13457,
    "h": 275.7
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#181062
secondary
#919B33
accent
#EF39DD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #181062

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

Preview Lab → · Contrast checker → · Palette generator →

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