#182866#182866

#182866 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.111 H 268.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#182866
RGBrgb(24, 40, 102)
HSLhsl(228, 62%, 25%)
HSVhsv(228, 76%, 40%)
CMYKcmyk(76.5%, 60.8%, 0%, 60%)
CIE-LABlab(18.67, 17.41, -38.44)
CIE-LCHlch(18.67, 42.20, 294.37°)
OKLaboklab(30.55% -0.0036 -0.1108)
OKLCHoklch(30.55% 0.111 268.1)
XYZxyz(3.5329, 2.6707, 12.8971)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182866 #665618
analogous
#184F66 #182866 #2F1866
triadic
#182866 #661828 #286618
tetradic
#182866 #66184F #665618 #18662F
square
#182866 #66184F #665618 #18662F
split-complementary
#182866 #662F18 #4F6618
monochromatic
#060A19 #0C1534 #182866 #243B98 #2F4FC9

Accessibility & contrast

On white

13.69
#182866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182866
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182866#FFFFFF#000000##FFFFFF
##1828661.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182866;
/* rgb */ color: rgb(24, 40, 102);
/* oklch */ color: oklch(30.5% 0.111 268.1);
Tailwind
colors: {
  custom: {
    50: '#616192',
    500: '#182866',
    950: '#000000',
  },
}
SCSS
$custom: #182866;
$custom-light: #616192;
$custom-dark: #000000;
JSON
{
  "hex": "#182866",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 227.692,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30549,
    "c": 0.11089,
    "h": 268.1
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#182866
secondary
#9C893E
accent
#C443E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182866

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

Preview Lab → · Contrast checker → · Palette generator →

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