#182274#182274

#182274 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.139 H 270.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#182274
RGBrgb(24, 34, 116)
HSLhsl(233, 66%, 27%)
HSVhsv(233, 79%, 45%)
CMYKcmyk(79.3%, 70.7%, 0%, 54.5%)
CIE-LABlab(18.36, 27.25, -48.04)
CIE-LCHlch(18.36, 55.23, 299.57°)
OKLaboklab(30.72% 0.0002 -0.139)
OKLCHoklch(30.72% 0.139 270.1)
XYZxyz(4.1000, 2.5988, 16.8051)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182274 #746A18
analogous
#185074 #182274 #3C1874
triadic
#182274 #741822 #227418
tetradic
#182274 #741850 #746A18 #18743C
square
#182274 #741850 #746A18 #18743C
split-complementary
#182274 #743C18 #507418
monochromatic
#050719 #0E1341 #182274 #2231A7 #3244D5

Accessibility & contrast

On white

13.82
#182274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182274
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182274#FFFFFF#000000##FFFFFF
##1822741.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182274;
/* rgb */ color: rgb(24, 34, 116);
/* oklch */ color: oklch(30.7% 0.139 270.1);
Tailwind
colors: {
  custom: {
    50: '#665d9d',
    500: '#182274',
    950: '#000000',
  },
}
SCSS
$custom: #182274;
$custom-light: #665d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#182274",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 233.478,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30724,
    "c": 0.13903,
    "h": 270.1
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#182274
secondary
#A99E3F
accent
#D63FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182274

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

Preview Lab → · Contrast checker → · Palette generator →

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