#183154#183154

#183154 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.070 H 257.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#183154
RGBrgb(24, 49, 84)
HSLhsl(215, 56%, 21%)
HSVhsv(215, 71%, 33%)
CMYKcmyk(71.4%, 41.7%, 0%, 67.1%)
CIE-LABlab(20.17, 3.43, -24.14)
CIE-LCHlch(20.17, 24.39, 278.08°)
OKLaboklab(31.26% -0.0157 -0.0687)
OKLCHoklch(31.26% 0.07 257.2)
XYZxyz(3.0747, 3.0306, 8.8087)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183154 #543B18
analogous
#184F54 #183154 #1D1854
triadic
#183154 #541831 #315418
tetradic
#183154 #54184F #543B18 #18541D
square
#183154 #54184F #543B18 #18541D
split-complementary
#183154 #541D18 #4F5418
monochromatic
#070E18 #0A1524 #183154 #264D84 #3369B3

Accessibility & contrast

On white

13.07
#183154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#183154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183154
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183154#FFFFFF#000000##FFFFFF
##1831541.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213455
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183154;
/* rgb */ color: rgb(24, 49, 84);
/* oklch */ color: oklch(31.3% 0.070 257.2);
Tailwind
colors: {
  custom: {
    50: '#5c6884',
    500: '#183154',
    950: '#000000',
  },
}
SCSS
$custom: #183154;
$custom-light: #5c6884;
$custom-dark: #000000;
JSON
{
  "hex": "#183154",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 215,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.07042,
    "h": 257.2
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#183154
secondary
#8B6A3D
accent
#A049DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #183154

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

Preview Lab → · Contrast checker → · Palette generator →

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