#182E6F#182E6F

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

Color values

HEX#182E6F
RGBrgb(24, 46, 111)
HSLhsl(225, 64%, 26%)
HSVhsv(225, 78%, 44%)
CMYKcmyk(78.4%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.19, 16.77, -40.19)
CIE-LCHlch(21.19, 43.55, 292.65°)
OKLaboklab(32.68% -0.0082 -0.1159)
OKLCHoklch(32.68% 0.116 265.9)
XYZxyz(4.2219, 3.2954, 15.4494)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E6F #6F5918
analogous
#185A6F #182E6F #2E186F
triadic
#182E6F #6F182E #2E6F18
tetradic
#182E6F #6F185A #6F5918 #186F2E
square
#182E6F #6F185A #6F5918 #186F2E
split-complementary
#182E6F #6F2E18 #5A6F18
monochromatic
#050A19 #0D193D #182E6F #2343A1 #2F58D2

Accessibility & contrast

On white

12.66
#182E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E6F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E6F#FFFFFF#000000##FFFFFF
##182E6F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182e6f;
/* rgb */ color: rgb(24, 46, 111);
/* oklch */ color: oklch(32.7% 0.116 265.9);
Tailwind
colors: {
  custom: {
    50: '#636699',
    500: '#182e6f',
    950: '#000000',
  },
}
SCSS
$custom: #182e6f;
$custom-light: #636699;
$custom-dark: #000000;
JSON
{
  "hex": "#182e6f",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 224.828,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.11618,
    "h": 265.9
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#182E6F
secondary
#A58B3E
accent
#BD40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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