#182278#182278

#182278 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.145 H 269.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#182278
RGBrgb(24, 34, 120)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(80%, 71.7%, 0%, 52.9%)
CIE-LABlab(18.77, 28.80, -49.93)
CIE-LCHlch(18.77, 57.64, 299.97°)
OKLaboklab(31.15% -0.0002 -0.1445)
OKLCHoklch(31.15% 0.145 269.9)
XYZxyz(4.3377, 2.6938, 18.0570)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182278 #786E18
analogous
#185278 #182278 #3E1878
triadic
#182278 #781822 #227818
tetradic
#182278 #781852 #786E18 #18783E
square
#182278 #781852 #786E18 #18783E
split-complementary
#182278 #783E18 #527818
monochromatic
#05071A #0E1445 #182278 #2230AB #3445D6

Accessibility & contrast

On white

13.65
#182278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182278
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182278#FFFFFF#000000##FFFFFF
##1822781.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182278;
/* rgb */ color: rgb(24, 34, 120);
/* oklch */ color: oklch(31.1% 0.145 269.9);
Tailwind
colors: {
  custom: {
    50: '#675da0',
    500: '#182278',
    950: '#000000',
  },
}
SCSS
$custom: #182278;
$custom-light: #675da0;
$custom-dark: #000000;
JSON
{
  "hex": "#182278",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 233.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.14454,
    "h": 269.9
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#182278
secondary
#ADA13F
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182278

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

Preview Lab → · Contrast checker → · Palette generator →

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