#183155#183155

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

Color values

HEX#183155
RGBrgb(24, 49, 85)
HSLhsl(215, 56%, 21%)
HSVhsv(215, 72%, 33%)
CMYKcmyk(71.8%, 42.4%, 0%, 66.7%)
CIE-LABlab(20.23, 3.83, -24.71)
CIE-LCHlch(20.23, 25.01, 278.82°)
OKLaboklab(31.33% -0.0154 -0.0703)
OKLCHoklch(31.33% 0.072 257.7)
XYZxyz(3.1141, 3.0464, 9.0165)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183155 #553C18
analogous
#185055 #183155 #1E1855
triadic
#183155 #551831 #315518
tetradic
#183155 #551850 #553C18 #18551E
square
#183155 #551850 #553C18 #18551E
split-complementary
#183155 #551E18 #505518
monochromatic
#070E18 #0B1525 #183155 #254D85 #3368B4

Accessibility & contrast

On white

13.05
#183155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183155
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183155#FFFFFF#000000##FFFFFF
##1831551.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213456
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183155;
/* rgb */ color: rgb(24, 49, 85);
/* oklch */ color: oklch(31.3% 0.072 257.7);
Tailwind
colors: {
  custom: {
    50: '#5d6885',
    500: '#183155',
    950: '#000000',
  },
}
SCSS
$custom: #183155;
$custom-light: #5d6885;
$custom-dark: #000000;
JSON
{
  "hex": "#183155",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 215.41,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31333,
    "c": 0.07198,
    "h": 257.7
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#183155
secondary
#8C6B3D
accent
#A149DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #183155

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

Preview Lab → · Contrast checker → · Palette generator →

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