#183258#183258

#183258 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.075 H 257.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#183258
RGBrgb(24, 50, 88)
HSLhsl(216, 57%, 22%)
HSVhsv(216, 73%, 35%)
CMYKcmyk(72.7%, 43.2%, 0%, 65.5%)
CIE-LABlab(20.75, 4.35, -25.88)
CIE-LCHlch(20.75, 26.24, 279.55°)
OKLaboklab(31.8% -0.0158 -0.0737)
OKLCHoklch(31.8% 0.075 257.9)
XYZxyz(3.2781, 3.1796, 9.6716)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183258 #583E18
analogous
#185258 #183258 #1E1858
triadic
#183258 #581832 #325818
tetradic
#183258 #581852 #583E18 #18581E
square
#183258 #581852 #583E18 #18581E
split-complementary
#183258 #581E18 #525818
monochromatic
#070E18 #0B1728 #183258 #254D88 #3269B8

Accessibility & contrast

On white

12.84
#183258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#183258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183258
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183258#FFFFFF#000000##FFFFFF
##1832581.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#172F57
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183258;
/* rgb */ color: rgb(24, 50, 88);
/* oklch */ color: oklch(31.8% 0.075 257.9);
Tailwind
colors: {
  custom: {
    50: '#5d6987',
    500: '#183258',
    950: '#000000',
  },
}
SCSS
$custom: #183258;
$custom-light: #5d6987;
$custom-dark: #000000;
JSON
{
  "hex": "#183258",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 215.625,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.318,
    "c": 0.07538,
    "h": 257.9
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#183258
secondary
#8F6E3D
accent
#A247E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #183258

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

Preview Lab → · Contrast checker → · Palette generator →

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