#182262#182262

#182262 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.113 H 270.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#182262
RGBrgb(24, 34, 98)
HSLhsl(232, 61%, 24%)
HSVhsv(232, 76%, 38%)
CMYKcmyk(75.5%, 65.3%, 0%, 61.6%)
CIE-LABlab(16.60, 20.13, -39.19)
CIE-LCHlch(16.60, 44.05, 297.19°)
OKLaboklab(28.9% 0.0014 -0.1131)
OKLCHoklch(28.9% 0.113 270.7)
XYZxyz(3.1526, 2.2198, 11.8152)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182262 #625818
analogous
#184762 #182262 #331862
triadic
#182262 #621822 #226218
tetradic
#182262 #621847 #625818 #186233
square
#182262 #621847 #625818 #186233
split-complementary
#182262 #623318 #476218
monochromatic
#060919 #0C1131 #182262 #243393 #3044C4

Accessibility & contrast

On white

14.54
#182262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#182262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182262
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182262#FFFFFF#000000##FFFFFF
##1822621.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182262;
/* rgb */ color: rgb(24, 34, 98);
/* oklch */ color: oklch(28.9% 0.113 270.7);
Tailwind
colors: {
  custom: {
    50: '#615c8f',
    500: '#182262',
    950: '#000000',
  },
}
SCSS
$custom: #182262;
$custom-light: #615c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#182262",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 231.892,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28895,
    "c": 0.11312,
    "h": 270.7
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#182262
secondary
#988C3E
accent
#CE44E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #182262

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

Preview Lab → · Contrast checker → · Palette generator →

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