#182145#182145

#182145 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.068 H 270.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#182145
RGBrgb(24, 33, 69)
HSLhsl(228, 48%, 18%)
HSVhsv(228, 65%, 27%)
CMYKcmyk(65.2%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.89, 9.06, -23.95)
CIE-LCHlch(13.89, 25.60, 290.72°)
OKLaboklab(26.1% 0.0006 -0.0683)
OKLCHoklch(26.1% 0.068 270.5)
XYZxyz(1.9944, 1.7114, 5.8543)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182145 #453C18
analogous
#183745 #182145 #251845
triadic
#182145 #451821 #214518
tetradic
#182145 #451837 #453C18 #184525
square
#182145 #451837 #453C18 #184525
split-complementary
#182145 #452518 #374518
monochromatic
#080B17 #080B18 #182145 #283772 #384CA0

Accessibility & contrast

On white

15.64
#182145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182145
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182145#FFFFFF#000000##FFFFFF
##1821451.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#092244
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #182145;
/* rgb */ color: rgb(24, 33, 69);
/* oklch */ color: oklch(26.1% 0.068 270.5);
Tailwind
colors: {
  custom: {
    50: '#5a5b79',
    500: '#182145',
    950: '#000000',
  },
}
SCSS
$custom: #182145;
$custom-light: #5a5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#182145",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 228,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26103,
    "c": 0.06831,
    "h": 270.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#182145
secondary
#7C6F3D
accent
#BD50D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182145

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

Preview Lab → · Contrast checker → · Palette generator →

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