#182267#182267

#182267 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.121 H 270.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#182267
RGBrgb(24, 34, 103)
HSLhsl(232, 62%, 25%)
HSVhsv(232, 77%, 40%)
CMYKcmyk(76.7%, 67%, 0%, 59.6%)
CIE-LABlab(17.07, 22.14, -41.71)
CIE-LCHlch(17.07, 47.22, 297.96°)
OKLaboklab(29.39% 0.0012 -0.1205)
OKLCHoklch(29.39% 0.121 270.6)
XYZxyz(3.3961, 2.3172, 13.0976)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182267 #675D18
analogous
#184A67 #182267 #351867
triadic
#182267 #671822 #226718
tetradic
#182267 #67184A #675D18 #186735
square
#182267 #67184A #675D18 #186735
split-complementary
#182267 #673518 #4A6718
monochromatic
#060819 #0C1235 #182267 #243299 #2F43CA

Accessibility & contrast

On white

14.35
#182267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182267
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182267#FFFFFF#000000##FFFFFF
##1822671.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182267;
/* rgb */ color: rgb(24, 34, 103);
/* oklch */ color: oklch(29.4% 0.121 270.6);
Tailwind
colors: {
  custom: {
    50: '#625d93',
    500: '#182267',
    950: '#000000',
  },
}
SCSS
$custom: #182267;
$custom-light: #625d93;
$custom-dark: #000000;
JSON
{
  "hex": "#182267",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 232.405,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29387,
    "c": 0.12052,
    "h": 270.6
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#182267
secondary
#9D913E
accent
#D143E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182267

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

Preview Lab → · Contrast checker → · Palette generator →

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