#182B6F#182B6F

#182B6F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.120 H 267.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#182B6F
RGBrgb(24, 43, 111)
HSLhsl(227, 64%, 26%)
HSVhsv(227, 78%, 44%)
CMYKcmyk(78.4%, 61.3%, 0%, 56.5%)
CIE-LABlab(20.32, 18.93, -41.61)
CIE-LCHlch(20.32, 45.72, 294.47°)
OKLaboklab(32.02% -0.0058 -0.1201)
OKLCHoklch(32.02% 0.12 267.2)
XYZxyz(4.1088, 3.0692, 15.4117)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B6F #6F5C18
analogous
#18576F #182B6F #31186F
triadic
#182B6F #6F182B #2B6F18
tetradic
#182B6F #6F1857 #6F5C18 #186F31
square
#182B6F #6F1857 #6F5C18 #186F31
split-complementary
#182B6F #6F3118 #576F18
monochromatic
#050A19 #0D183D #182B6F #233EA1 #2F53D2

Accessibility & contrast

On white

13.01
#182B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B6F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B6F#FFFFFF#000000##FFFFFF
##182B6F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182b6f;
/* rgb */ color: rgb(24, 43, 111);
/* oklch */ color: oklch(32.0% 0.120 267.2);
Tailwind
colors: {
  custom: {
    50: '#636499',
    500: '#182b6f',
    950: '#000000',
  },
}
SCSS
$custom: #182b6f;
$custom-light: #636499;
$custom-dark: #000000;
JSON
{
  "hex": "#182b6f",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 226.897,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32023,
    "c": 0.12024,
    "h": 267.2
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#182B6F
secondary
#A58E3E
accent
#C340E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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