#183257#183257

#183257 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.7% C 0.074 H 257.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#183257
RGBrgb(24, 50, 87)
HSLhsl(215, 57%, 22%)
HSVhsv(215, 72%, 34%)
CMYKcmyk(72.4%, 42.5%, 0%, 65.9%)
CIE-LABlab(20.69, 3.94, -25.31)
CIE-LCHlch(20.69, 25.62, 278.85°)
OKLaboklab(31.73% -0.016 -0.0721)
OKLCHoklch(31.73% 0.074 257.5)
XYZxyz(3.2370, 3.1632, 9.4549)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183257 #573D18
analogous
#185257 #183257 #1E1857
triadic
#183257 #571832 #325718
tetradic
#183257 #571852 #573D18 #18571E
square
#183257 #571852 #573D18 #18571E
split-complementary
#183257 #571E18 #525718
monochromatic
#070E18 #0B1627 #183257 #254E87 #3269B7

Accessibility & contrast

On white

12.86
#183257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#183257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183257
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183257#FFFFFF#000000##FFFFFF
##1832571.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#182F56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183257;
/* rgb */ color: rgb(24, 50, 87);
/* oklch */ color: oklch(31.7% 0.074 257.5);
Tailwind
colors: {
  custom: {
    50: '#5d6986',
    500: '#183257',
    950: '#000000',
  },
}
SCSS
$custom: #183257;
$custom-light: #5d6986;
$custom-dark: #000000;
JSON
{
  "hex": "#183257",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 87
  },
  "hsl": {
    "h": 215.238,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.07383,
    "h": 257.5
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#183257
secondary
#8E6C3D
accent
#A148E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #183257

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

Preview Lab → · Contrast checker → · Palette generator →

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