#182B7F#182B7F

#182B7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.143 H 267.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182B7F
RGBrgb(24, 43, 127)
HSLhsl(229, 68%, 30%)
HSVhsv(229, 81%, 50%)
CMYKcmyk(81.1%, 66.1%, 0%, 50.2%)
CIE-LABlab(21.78, 25.39, -49.45)
CIE-LCHlch(21.78, 55.59, 297.18°)
OKLaboklab(33.56% -0.0058 -0.1431)
OKLCHoklch(33.56% 0.143 267.7)
XYZxyz(5.0700, 3.4537, 20.4740)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B7F #7F6C18
analogous
#185F7F #182B7F #39187F
triadic
#182B7F #7F182B #2B7F18
tetradic
#182B7F #7F185F #7F6C18 #187F39
square
#182B7F #7F185F #7F6C18 #187F39
split-complementary
#182B7F #7F3918 #5F7F18
monochromatic
#05091A #0E1A4C #182B7F #223CB2 #3856D9

Accessibility & contrast

On white

12.42
#182B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B7F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B7F#FFFFFF#000000##FFFFFF
##182B7F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182b7f;
/* rgb */ color: rgb(24, 43, 127);
/* oklch */ color: oklch(33.6% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#6864a5',
    500: '#182b7f',
    950: '#000000',
  },
}
SCSS
$custom: #182b7f;
$custom-light: #6864a5;
$custom-dark: #000000;
JSON
{
  "hex": "#182b7f",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 228.932,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.14321,
    "h": 267.7
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#182B7F
secondary
#B39E3F
accent
#CB3DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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