#182270#182270

#182270 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.133 H 270.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#182270
RGBrgb(24, 34, 112)
HSLhsl(233, 65%, 27%)
HSVhsv(233, 79%, 44%)
CMYKcmyk(78.6%, 69.6%, 0%, 56.1%)
CIE-LABlab(17.95, 25.70, -46.13)
CIE-LCHlch(17.95, 52.80, 299.12°)
OKLaboklab(30.3% 0.0006 -0.1334)
OKLCHoklch(30.3% 0.133 270.3)
XYZxyz(3.8723, 2.5077, 15.6060)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182270 #706618
analogous
#184E70 #182270 #3A1870
triadic
#182270 #701822 #227018
tetradic
#182270 #70184E #706618 #18703A
square
#182270 #70184E #706618 #18703A
split-complementary
#182270 #703A18 #4E7018
monochromatic
#050819 #0D133E #182270 #2331A2 #3042D3

Accessibility & contrast

On white

13.99
#182270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#182270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182270
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182270#FFFFFF#000000##FFFFFF
##1822701.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182270;
/* rgb */ color: rgb(24, 34, 112);
/* oklch */ color: oklch(30.3% 0.133 270.3);
Tailwind
colors: {
  custom: {
    50: '#655d9a',
    500: '#182270',
    950: '#000000',
  },
}
SCSS
$custom: #182270;
$custom-light: #655d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182270",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 233.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30304,
    "c": 0.13344,
    "h": 270.3
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#182270
secondary
#A59A3E
accent
#D540E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182270

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

Preview Lab → · Contrast checker → · Palette generator →

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