#182864#182864

#182864 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.108 H 268.0°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#182864
RGBrgb(24, 40, 100)
HSLhsl(227, 61%, 24%)
HSVhsv(227, 76%, 39%)
CMYKcmyk(76%, 60%, 0%, 60.8%)
CIE-LABlab(18.50, 16.59, -37.41)
CIE-LCHlch(18.50, 40.92, 293.92°)
OKLaboklab(30.37% -0.0037 -0.1078)
OKLCHoklch(30.37% 0.108 268)
XYZxyz(3.4349, 2.6315, 12.3810)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182864 #645418
analogous
#184E64 #182864 #2E1864
triadic
#182864 #641828 #286418
tetradic
#182864 #64184E #645418 #18642E
square
#182864 #64184E #645418 #18642E
split-complementary
#182864 #642E18 #4E6418
monochromatic
#060A19 #0C1433 #182864 #243C95 #304FC7

Accessibility & contrast

On white

13.76
#182864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182864
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182864#FFFFFF#000000##FFFFFF
##1828641.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182864;
/* rgb */ color: rgb(24, 40, 100);
/* oklch */ color: oklch(30.4% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#616191',
    500: '#182864',
    950: '#000000',
  },
}
SCSS
$custom: #182864;
$custom-light: #616191;
$custom-dark: #000000;
JSON
{
  "hex": "#182864",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 227.368,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30367,
    "c": 0.10785,
    "h": 268
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#182864
secondary
#9A873E
accent
#C343E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #182864

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

Preview Lab → · Contrast checker → · Palette generator →

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