#182062#182062

#182062 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.116 H 271.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#182062
RGBrgb(24, 32, 98)
HSLhsl(234, 61%, 24%)
HSVhsv(234, 76%, 38%)
CMYKcmyk(75.5%, 67.3%, 0%, 61.6%)
CIE-LABlab(16.05, 21.57, -40.09)
CIE-LCHlch(16.05, 45.52, 298.28°)
OKLaboklab(28.49% 0.003 -0.1158)
OKLCHoklch(28.49% 0.116 271.5)
XYZxyz(3.0971, 2.1087, 11.7967)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182062 #625A18
analogous
#184562 #182062 #351862
triadic
#182062 #621820 #206218
tetradic
#182062 #621845 #625A18 #186235
square
#182062 #621845 #625A18 #186235
split-complementary
#182062 #623518 #456218
monochromatic
#060819 #0C1031 #182062 #243093 #3040C4

Accessibility & contrast

On white

14.77
#182062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#182062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182062
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182062#FFFFFF#000000##FFFFFF
##1820621.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002461
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182062;
/* rgb */ color: rgb(24, 32, 98);
/* oklch */ color: oklch(28.5% 0.116 271.5);
Tailwind
colors: {
  custom: {
    50: '#615b8f',
    500: '#182062',
    950: '#000000',
  },
}
SCSS
$custom: #182062;
$custom-light: #615b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#182062",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 233.514,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28488,
    "c": 0.11582,
    "h": 271.5
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#182062
secondary
#988E3E
accent
#D344E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #182062

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

Preview Lab → · Contrast checker → · Palette generator →

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