#182F6B#182F6B

#182F6B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.109 H 265.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#182F6B
RGBrgb(24, 47, 107)
HSLhsl(223, 63%, 26%)
HSVhsv(223, 78%, 42%)
CMYKcmyk(77.6%, 56.1%, 0%, 58%)
CIE-LABlab(21.16, 14.40, -37.65)
CIE-LCHlch(21.16, 40.31, 290.92°)
OKLaboklab(32.55% -0.0094 -0.1084)
OKLCHoklch(32.55% 0.109 265)
XYZxyz(4.0461, 3.2883, 14.3285)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6B #6B5418
analogous
#18586B #182F6B #2A186B
triadic
#182F6B #6B182F #2F6B18
tetradic
#182F6B #6B1858 #6B5418 #186B2A
square
#182F6B #6B1858 #6B5418 #186B2A
split-complementary
#182F6B #6B2A18 #586B18
monochromatic
#060B19 #0D1939 #182F6B #23459D #2E5BCF

Accessibility & contrast

On white

12.67
#182F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F6B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6B#FFFFFF#000000##FFFFFF
##182F6B1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182f6b;
/* rgb */ color: rgb(24, 47, 107);
/* oklch */ color: oklch(32.6% 0.109 265.0);
Tailwind
colors: {
  custom: {
    50: '#626796',
    500: '#182f6b',
    950: '#000000',
  },
}
SCSS
$custom: #182f6b;
$custom-light: #626796;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6b",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 223.373,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.10881,
    "h": 265
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#182F6B
secondary
#A1853E
accent
#B941E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #182F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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