#182374#182374

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

Color values

HEX#182374
RGBrgb(24, 35, 116)
HSLhsl(233, 66%, 27%)
HSVhsv(233, 79%, 45%)
CMYKcmyk(79.3%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.61, 26.57, -47.62)
CIE-LCHlch(18.61, 54.54, 299.16°)
OKLaboklab(30.91% -0.0004 -0.1378)
OKLCHoklch(30.91% 0.138 269.9)
XYZxyz(4.1290, 2.6568, 16.8148)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182374 #746918
analogous
#185174 #182374 #3B1874
triadic
#182374 #741823 #237418
tetradic
#182374 #741851 #746918 #18743B
square
#182374 #741851 #746918 #18743B
split-complementary
#182374 #743B18 #517418
monochromatic
#050819 #0E1441 #182374 #2232A7 #3245D5

Accessibility & contrast

On white

13.71
#182374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182374
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182374#FFFFFF#000000##FFFFFF
##1823741.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182374;
/* rgb */ color: rgb(24, 35, 116);
/* oklch */ color: oklch(30.9% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#665e9d',
    500: '#182374',
    950: '#000000',
  },
}
SCSS
$custom: #182374;
$custom-light: #665e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#182374",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 232.826,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30908,
    "c": 0.13781,
    "h": 269.9
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#182374
secondary
#A99C3F
accent
#D43FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182374

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

Preview Lab → · Contrast checker → · Palette generator →

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