#182279#182279

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

Color values

HEX#182279
RGBrgb(24, 34, 121)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(80.2%, 71.9%, 0%, 52.5%)
CIE-LABlab(18.88, 29.18, -50.40)
CIE-LCHlch(18.88, 58.23, 300.07°)
OKLaboklab(31.26% -0.0003 -0.1459)
OKLCHoklch(31.26% 0.146 269.9)
XYZxyz(4.3987, 2.7182, 18.3783)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182279 #796F18
analogous
#185279 #182279 #3E1879
triadic
#182279 #791822 #227918
tetradic
#182279 #791852 #796F18 #18793E
square
#182279 #791852 #796F18 #18793E
split-complementary
#182279 #793E18 #527918
monochromatic
#05071A #0E1446 #182279 #2230AC #3545D7

Accessibility & contrast

On white

13.60
#182279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182279
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182279#FFFFFF#000000##FFFFFF
##1822791.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182279;
/* rgb */ color: rgb(24, 34, 121);
/* oklch */ color: oklch(31.3% 0.146 269.9);
Tailwind
colors: {
  custom: {
    50: '#675da1',
    500: '#182279',
    950: '#000000',
  },
}
SCSS
$custom: #182279;
$custom-light: #675da1;
$custom-dark: #000000;
JSON
{
  "hex": "#182279",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 233.814,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31257,
    "c": 0.1459,
    "h": 269.9
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#182279
secondary
#AEA23F
accent
#D83EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182279

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

Preview Lab → · Contrast checker → · Palette generator →

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