#182A65#182A65

#182A65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.107 H 267.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#182A65
RGBrgb(24, 42, 101)
HSLhsl(226, 62%, 25%)
HSVhsv(226, 76%, 40%)
CMYKcmyk(76.2%, 58.4%, 0%, 60.4%)
CIE-LABlab(19.18, 15.54, -36.96)
CIE-LCHlch(19.18, 40.10, 292.81°)
OKLaboklab(30.9% -0.0054 -0.1065)
OKLCHoklch(30.9% 0.107 267.1)
XYZxyz(3.5528, 2.7893, 12.6606)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A65 #655318
analogous
#185165 #182A65 #2D1865
triadic
#182A65 #65182A #2A6518
tetradic
#182A65 #651851 #655318 #18652D
square
#182A65 #651851 #655318 #18652D
split-complementary
#182A65 #652D18 #516518
monochromatic
#060A19 #0C1534 #182A65 #243F96 #3053C8

Accessibility & contrast

On white

13.48
#182A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A65
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A65#FFFFFF#000000##FFFFFF
##182A651.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182a65;
/* rgb */ color: rgb(24, 42, 101);
/* oklch */ color: oklch(30.9% 0.107 267.1);
Tailwind
colors: {
  custom: {
    50: '#616391',
    500: '#182a65',
    950: '#000000',
  },
}
SCSS
$custom: #182a65;
$custom-light: #616391;
$custom-dark: #000000;
JSON
{
  "hex": "#182a65",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 225.974,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.1066,
    "h": 267.1
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#182A65
secondary
#9B853E
accent
#BF43E5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #182A65

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

Preview Lab → · Contrast checker → · Palette generator →

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