#182B70#182B70

#182B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.122 H 267.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#182B70
RGBrgb(24, 43, 112)
HSLhsl(227, 65%, 27%)
HSVhsv(227, 79%, 44%)
CMYKcmyk(78.6%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.41, 19.34, -42.11)
CIE-LCHlch(20.41, 46.34, 294.67°)
OKLaboklab(32.12% -0.0058 -0.1216)
OKLCHoklch(32.12% 0.122 267.3)
XYZxyz(4.1642, 3.0913, 15.7033)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B70 #705D18
analogous
#185770 #182B70 #311870
triadic
#182B70 #70182B #2B7018
tetradic
#182B70 #701857 #705D18 #187031
square
#182B70 #701857 #705D18 #187031
split-complementary
#182B70 #703118 #577018
monochromatic
#050A19 #0D183E #182B70 #233EA2 #3053D3

Accessibility & contrast

On white

12.98
#182B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B70
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B70#FFFFFF#000000##FFFFFF
##182B701.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182b70;
/* rgb */ color: rgb(24, 43, 112);
/* oklch */ color: oklch(32.1% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#64649a',
    500: '#182b70',
    950: '#000000',
  },
}
SCSS
$custom: #182b70;
$custom-light: #64649a;
$custom-dark: #000000;
JSON
{
  "hex": "#182b70",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 227.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32115,
    "c": 0.12172,
    "h": 267.3
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#182B70
secondary
#A58F3E
accent
#C440E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B70

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

Preview Lab → · Contrast checker → · Palette generator →

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