#182673#182673

#182673 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.133 H 269.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#182673
RGBrgb(24, 38, 115)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 45%)
CMYKcmyk(79.1%, 67%, 0%, 54.9%)
CIE-LABlab(19.30, 24.10, -45.86)
CIE-LCHlch(19.30, 51.80, 297.73°)
OKLaboklab(31.38% -0.0022 -0.1326)
OKLCHoklch(31.38% 0.133 269)
XYZxyz(4.1632, 2.8178, 16.5408)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182673 #736518
analogous
#185473 #182673 #371873
triadic
#182673 #731826 #267318
tetradic
#182673 #731854 #736518 #187337
square
#182673 #731854 #736518 #187337
split-complementary
#182673 #733718 #547318
monochromatic
#050819 #0D1540 #182673 #2337A6 #314AD4

Accessibility & contrast

On white

13.43
#182673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182673
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182673#FFFFFF#000000##FFFFFF
##1826731.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182673;
/* rgb */ color: rgb(24, 38, 115);
/* oklch */ color: oklch(31.4% 0.133 269.0);
Tailwind
colors: {
  custom: {
    50: '#65609c',
    500: '#182673',
    950: '#000000',
  },
}
SCSS
$custom: #182673;
$custom-light: #65609c;
$custom-dark: #000000;
JSON
{
  "hex": "#182673",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 230.769,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.13264,
    "h": 269
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#182673
secondary
#A8983F
accent
#CE3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182673

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

Preview Lab → · Contrast checker → · Palette generator →

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