#182F6D#182F6D

#182F6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.112 H 265.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#182F6D
RGBrgb(24, 47, 109)
HSLhsl(224, 64%, 26%)
HSVhsv(224, 78%, 43%)
CMYKcmyk(78%, 56.9%, 0%, 57.3%)
CIE-LABlab(21.32, 15.22, -38.69)
CIE-LCHlch(21.32, 41.58, 291.48°)
OKLaboklab(32.73% -0.0092 -0.1114)
OKLCHoklch(32.73% 0.112 265.3)
XYZxyz(4.1525, 3.3309, 14.8891)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6D #6D5618
analogous
#18596D #182F6D #2B186D
triadic
#182F6D #6D182F #2F6D18
tetradic
#182F6D #6D1859 #6D5618 #186D2B
square
#182F6D #6D1859 #6D5618 #186D2B
split-complementary
#182F6D #6D2B18 #596D18
monochromatic
#060B19 #0D193B #182F6D #23459F #2E5AD1

Accessibility & contrast

On white

12.60
#182F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F6D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6D#FFFFFF#000000##FFFFFF
##182F6D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182f6d;
/* rgb */ color: rgb(24, 47, 109);
/* oklch */ color: oklch(32.7% 0.112 265.3);
Tailwind
colors: {
  custom: {
    50: '#636797',
    500: '#182f6d',
    950: '#000000',
  },
}
SCSS
$custom: #182f6d;
$custom-light: #636797;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6d",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 223.765,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32725,
    "c": 0.11182,
    "h": 265.3
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#182F6D
secondary
#A3873E
accent
#BA41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #182F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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