#182762#182762

#182762 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.106 H 268.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#182762
RGBrgb(24, 39, 98)
HSLhsl(228, 61%, 24%)
HSVhsv(228, 76%, 38%)
CMYKcmyk(75.5%, 60.2%, 0%, 61.6%)
CIE-LABlab(18.04, 16.50, -36.84)
CIE-LCHlch(18.04, 40.37, 294.12°)
OKLaboklab(29.97% -0.0029 -0.1062)
OKLCHoklch(29.97% 0.106 268.4)
XYZxyz(3.3061, 2.5267, 11.8664)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182762 #625318
analogous
#184C62 #182762 #2E1862
triadic
#182762 #621827 #276218
tetradic
#182762 #62184C #625318 #18622E
square
#182762 #62184C #625318 #18622E
split-complementary
#182762 #622E18 #4C6218
monochromatic
#060A19 #0C1331 #182762 #243B93 #304EC4

Accessibility & contrast

On white

13.95
#182762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182762
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182762#FFFFFF#000000##FFFFFF
##1827621.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182762;
/* rgb */ color: rgb(24, 39, 98);
/* oklch */ color: oklch(30.0% 0.106 268.4);
Tailwind
colors: {
  custom: {
    50: '#60608f',
    500: '#182762',
    950: '#000000',
  },
}
SCSS
$custom: #182762;
$custom-light: #60608f;
$custom-dark: #000000;
JSON
{
  "hex": "#182762",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 227.838,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29966,
    "c": 0.1062,
    "h": 268.4
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#182762
secondary
#98863E
accent
#C344E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #182762

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

Preview Lab → · Contrast checker → · Palette generator →

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