#182F70#182F70

#182F70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.116 H 265.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#182F70
RGBrgb(24, 47, 112)
HSLhsl(224, 65%, 27%)
HSVhsv(224, 79%, 44%)
CMYKcmyk(78.6%, 58%, 0%, 56.1%)
CIE-LABlab(21.57, 16.47, -40.23)
CIE-LCHlch(21.57, 43.47, 292.26°)
OKLaboklab(32.99% -0.009 -0.116)
OKLCHoklch(32.99% 0.116 265.6)
XYZxyz(4.3168, 3.3966, 15.7542)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F70 #705918
analogous
#185B70 #182F70 #2D1870
triadic
#182F70 #70182F #2F7018
tetradic
#182F70 #70185B #705918 #18702D
square
#182F70 #70185B #705918 #18702D
split-complementary
#182F70 #702D18 #5B7018
monochromatic
#050B19 #0D1A3E #182F70 #2344A2 #305AD3

Accessibility & contrast

On white

12.50
#182F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F70
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F70#FFFFFF#000000##FFFFFF
##182F701.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182f70;
/* rgb */ color: rgb(24, 47, 112);
/* oklch */ color: oklch(33.0% 0.116 265.6);
Tailwind
colors: {
  custom: {
    50: '#63679a',
    500: '#182f70',
    950: '#000000',
  },
}
SCSS
$custom: #182f70;
$custom-light: #63679a;
$custom-dark: #000000;
JSON
{
  "hex": "#182f70",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 224.318,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.11632,
    "h": 265.6
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#182F70
secondary
#A58B3E
accent
#BC40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F70

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

Preview Lab → · Contrast checker → · Palette generator →

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