#182F68#182F68

#182F68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.104 H 264.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#182F68
RGBrgb(24, 47, 104)
HSLhsl(223, 63%, 25%)
HSVhsv(223, 77%, 41%)
CMYKcmyk(76.9%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.93, 13.15, -36.09)
CIE-LCHlch(20.93, 38.41, 290.02°)
OKLaboklab(32.3% -0.0097 -0.1038)
OKLCHoklch(32.3% 0.104 264.6)
XYZxyz(3.8910, 3.2263, 13.5117)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F68 #685118
analogous
#185768 #182F68 #291868
triadic
#182F68 #68182F #2F6818
tetradic
#182F68 #681857 #685118 #186829
square
#182F68 #681857 #685118 #186829
split-complementary
#182F68 #682918 #576818
monochromatic
#060B19 #0D1936 #182F68 #23459A #2F5CCB

Accessibility & contrast

On white

12.76
#182F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F68
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F68#FFFFFF#000000##FFFFFF
##182F681.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182f68;
/* rgb */ color: rgb(24, 47, 104);
/* oklch */ color: oklch(32.3% 0.104 264.6);
Tailwind
colors: {
  custom: {
    50: '#616794',
    500: '#182f68',
    950: '#000000',
  },
}
SCSS
$custom: #182f68;
$custom-light: #616794;
$custom-dark: #000000;
JSON
{
  "hex": "#182f68",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 222.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.323,
    "c": 0.10424,
    "h": 264.6
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#182F68
secondary
#9E823E
accent
#B742E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #182F68

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

Preview Lab → · Contrast checker → · Palette generator →

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