#182458#182458

#182458 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.095 H 269.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#182458
RGBrgb(24, 36, 88)
HSLhsl(229, 57%, 22%)
HSVhsv(229, 73%, 35%)
CMYKcmyk(72.7%, 59.1%, 0%, 65.5%)
CIE-LABlab(16.31, 14.59, -33.01)
CIE-LCHlch(16.31, 36.09, 293.84°)
OKLaboklab(28.4% -0.0006 -0.0949)
OKLCHoklch(28.4% 0.095 269.6)
XYZxyz(2.7684, 2.1603, 9.5017)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182458 #584C18
analogous
#184458 #182458 #2C1858
triadic
#182458 #581824 #245818
tetradic
#182458 #581844 #584C18 #18582C
square
#182458 #581844 #584C18 #18582C
split-complementary
#182458 #582C18 #445818
monochromatic
#070A18 #0B1028 #182458 #253888 #324BB8

Accessibility & contrast

On white

14.66
#182458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#182458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182458
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182458#FFFFFF#000000##FFFFFF
##1824581.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182458;
/* rgb */ color: rgb(24, 36, 88);
/* oklch */ color: oklch(28.4% 0.095 269.6);
Tailwind
colors: {
  custom: {
    50: '#5e5e88',
    500: '#182458',
    950: '#000000',
  },
}
SCSS
$custom: #182458;
$custom-light: #5e5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#182458",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 228.75,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28401,
    "c": 0.09493,
    "h": 269.6
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#182458
secondary
#8F7F3D
accent
#C447E0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #182458

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

Preview Lab → · Contrast checker → · Palette generator →

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