#182F6F#182F6F

#182F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.115 H 265.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#182F6F
RGBrgb(24, 47, 111)
HSLhsl(224, 64%, 26%)
HSVhsv(224, 78%, 44%)
CMYKcmyk(78.4%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.49, 16.05, -39.72)
CIE-LCHlch(21.49, 42.84, 292.01°)
OKLaboklab(32.9% -0.009 -0.1145)
OKLCHoklch(32.9% 0.115 265.5)
XYZxyz(4.2614, 3.3745, 15.4626)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6F #6F5818
analogous
#185B6F #182F6F #2D186F
triadic
#182F6F #6F182F #2F6F18
tetradic
#182F6F #6F185B #6F5818 #186F2D
square
#182F6F #6F185B #6F5818 #186F2D
split-complementary
#182F6F #6F2D18 #5B6F18
monochromatic
#050B19 #0D1A3D #182F6F #2344A1 #2F5AD2

Accessibility & contrast

On white

12.54
#182F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F6F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6F#FFFFFF#000000##FFFFFF
##182F6F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182f6f;
/* rgb */ color: rgb(24, 47, 111);
/* oklch */ color: oklch(32.9% 0.115 265.5);
Tailwind
colors: {
  custom: {
    50: '#636799',
    500: '#182f6f',
    950: '#000000',
  },
}
SCSS
$custom: #182f6f;
$custom-light: #636799;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6f",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 224.138,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32898,
    "c": 0.11482,
    "h": 265.5
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#182F6F
secondary
#A58A3E
accent
#BB40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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