#182165#182165

#182165 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.119 H 271.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#182165
RGBrgb(24, 33, 101)
HSLhsl(233, 62%, 25%)
HSVhsv(233, 76%, 40%)
CMYKcmyk(76.2%, 67.3%, 0%, 60.4%)
CIE-LABlab(16.61, 22.05, -41.15)
CIE-LCHlch(16.61, 46.69, 298.18°)
OKLaboklab(28.99% 0.0021 -0.1189)
OKLCHoklch(28.99% 0.119 271)
XYZxyz(3.2687, 2.2212, 12.5659)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182165 #655C18
analogous
#184865 #182165 #361865
triadic
#182165 #651821 #216518
tetradic
#182165 #651848 #655C18 #186536
square
#182165 #651848 #655C18 #186536
split-complementary
#182165 #653618 #486518
monochromatic
#060819 #0C1134 #182165 #243196 #3041C8

Accessibility & contrast

On white

14.54
#182165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#182165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182165
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182165#FFFFFF#000000##FFFFFF
##1821651.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182165;
/* rgb */ color: rgb(24, 33, 101);
/* oklch */ color: oklch(29.0% 0.119 271.0);
Tailwind
colors: {
  custom: {
    50: '#625c92',
    500: '#182165',
    950: '#000000',
  },
}
SCSS
$custom: #182165;
$custom-light: #625c92;
$custom-dark: #000000;
JSON
{
  "hex": "#182165",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 232.987,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28988,
    "c": 0.11891,
    "h": 271
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#182165
secondary
#9B903E
accent
#D243E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182165

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

Preview Lab → · Contrast checker → · Palette generator →

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