#182758#182758

#182758 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.091 H 267.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#182758
RGBrgb(24, 39, 88)
HSLhsl(226, 57%, 22%)
HSVhsv(226, 73%, 35%)
CMYKcmyk(72.7%, 55.7%, 0%, 65.5%)
CIE-LABlab(17.22, 12.37, -31.53)
CIE-LCHlch(17.22, 33.87, 291.42°)
OKLaboklab(29.09% -0.0037 -0.0905)
OKLCHoklch(29.09% 0.091 267.6)
XYZxyz(2.8631, 2.3495, 9.5332)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182758 #584918
analogous
#184758 #182758 #291858
triadic
#182758 #581827 #275818
tetradic
#182758 #581847 #584918 #185829
square
#182758 #581847 #584918 #185829
split-complementary
#182758 #582918 #475818
monochromatic
#070B18 #0B1228 #182758 #253C88 #3252B8

Accessibility & contrast

On white

14.29
#182758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#182758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182758
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182758#FFFFFF#000000##FFFFFF
##1827581.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182758;
/* rgb */ color: rgb(24, 39, 88);
/* oklch */ color: oklch(29.1% 0.091 267.6);
Tailwind
colors: {
  custom: {
    50: '#5e6087',
    500: '#182758',
    950: '#000000',
  },
}
SCSS
$custom: #182758;
$custom-light: #5e6087;
$custom-dark: #000000;
JSON
{
  "hex": "#182758",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 225.938,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29094,
    "c": 0.09059,
    "h": 267.6
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#182758
secondary
#8F7C3D
accent
#BD47E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182758

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

Preview Lab → · Contrast checker → · Palette generator →

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