#182B58#182B58

#182B58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.085 H 264.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#182B58
RGBrgb(24, 43, 88)
HSLhsl(222, 57%, 22%)
HSVhsv(222, 73%, 35%)
CMYKcmyk(72.7%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.48, 9.42, -29.50)
CIE-LCHlch(18.48, 30.97, 287.70°)
OKLaboklab(30.05% -0.008 -0.0845)
OKLCHoklch(30.05% 0.085 264.6)
XYZxyz(3.0014, 2.6262, 9.5794)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B58 #584518
analogous
#184B58 #182B58 #251858
triadic
#182B58 #58182B #2B5818
tetradic
#182B58 #58184B #584518 #185825
square
#182B58 #58184B #584518 #185825
split-complementary
#182B58 #582518 #4B5818
monochromatic
#070C18 #0B1428 #182B58 #254288 #325AB8

Accessibility & contrast

On white

13.77
#182B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B58
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B58#FFFFFF#000000##FFFFFF
##182B581.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#062A57
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182b58;
/* rgb */ color: rgb(24, 43, 88);
/* oklch */ color: oklch(30.0% 0.085 264.6);
Tailwind
colors: {
  custom: {
    50: '#5d6387',
    500: '#182b58',
    950: '#000000',
  },
}
SCSS
$custom: #182b58;
$custom-light: #5d6387;
$custom-dark: #000000;
JSON
{
  "hex": "#182b58",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 222.188,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.08487,
    "h": 264.6
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#182B58
secondary
#8F763D
accent
#B347E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182B58

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

Preview Lab → · Contrast checker → · Palette generator →

#182B58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva