#182966#182966

#182966 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.110 H 267.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#182966
RGBrgb(24, 41, 102)
HSLhsl(227, 62%, 25%)
HSVhsv(227, 76%, 40%)
CMYKcmyk(76.5%, 59.8%, 0%, 60%)
CIE-LABlab(18.97, 16.68, -37.96)
CIE-LCHlch(18.97, 41.47, 293.72°)
OKLaboklab(30.77% -0.0045 -0.1094)
OKLCHoklch(30.77% 0.11 267.6)
XYZxyz(3.5671, 2.7390, 12.9085)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182966 #665518
analogous
#185066 #182966 #2E1866
triadic
#182966 #661829 #296618
tetradic
#182966 #661850 #665518 #18662E
square
#182966 #661850 #665518 #18662E
split-complementary
#182966 #662E18 #506618
monochromatic
#060A19 #0C1534 #182966 #243D98 #2F51C9

Accessibility & contrast

On white

13.57
#182966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182966
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182966#FFFFFF#000000##FFFFFF
##1829661.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182966;
/* rgb */ color: rgb(24, 41, 102);
/* oklch */ color: oklch(30.8% 0.110 267.6);
Tailwind
colors: {
  custom: {
    50: '#616292',
    500: '#182966',
    950: '#000000',
  },
}
SCSS
$custom: #182966;
$custom-light: #616292;
$custom-dark: #000000;
JSON
{
  "hex": "#182966",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 226.923,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30768,
    "c": 0.10951,
    "h": 267.6
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#182966
secondary
#9C883E
accent
#C243E5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182966

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

Preview Lab → · Contrast checker → · Palette generator →

#182966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva