#182146#182146

#182146 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.070 H 270.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#182146
RGBrgb(24, 33, 70)
HSLhsl(228, 49%, 18%)
HSVhsv(228, 66%, 27%)
CMYKcmyk(65.7%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.97, 9.46, -24.52)
CIE-LCHlch(13.97, 26.29, 291.10°)
OKLaboklab(26.18% 0.0008 -0.07)
OKLCHoklch(26.18% 0.07 270.6)
XYZxyz(2.0257, 1.7239, 6.0192)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182146 #463D18
analogous
#183846 #182146 #261846
triadic
#182146 #461821 #214618
tetradic
#182146 #461838 #463D18 #184626
square
#182146 #461838 #463D18 #184626
split-complementary
#182146 #462618 #384618
monochromatic
#080B17 #080C18 #182146 #283674 #374CA1

Accessibility & contrast

On white

15.62
#182146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#182146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182146
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182146#FFFFFF#000000##FFFFFF
##1821461.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2647
Deuteranopia (green-blind)
#082245
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182146;
/* rgb */ color: rgb(24, 33, 70);
/* oklch */ color: oklch(26.2% 0.070 270.6);
Tailwind
colors: {
  custom: {
    50: '#5a5b7a',
    500: '#182146',
    950: '#000000',
  },
}
SCSS
$custom: #182146;
$custom-light: #5a5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#182146",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 228.261,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26182,
    "c": 0.07001,
    "h": 270.6
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#182146
secondary
#7D703D
accent
#BE4FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182146

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

Preview Lab → · Contrast checker → · Palette generator →

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