#182273#182273

#182273 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.138 H 270.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#182273
RGBrgb(24, 34, 115)
HSLhsl(233, 65%, 27%)
HSVhsv(233, 79%, 45%)
CMYKcmyk(79.1%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.26, 26.87, -47.56)
CIE-LCHlch(18.26, 54.63, 299.46°)
OKLaboklab(30.62% 0.0003 -0.1376)
OKLCHoklch(30.62% 0.138 270.1)
XYZxyz(4.0422, 2.5756, 16.5004)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182273 #736918
analogous
#184F73 #182273 #3C1873
triadic
#182273 #731822 #227318
tetradic
#182273 #73184F #736918 #18733C
square
#182273 #73184F #736918 #18733C
split-complementary
#182273 #733C18 #4F7318
monochromatic
#050719 #0D1340 #182273 #2331A6 #3143D4

Accessibility & contrast

On white

13.86
#182273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182273
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182273#FFFFFF#000000##FFFFFF
##1822731.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182273;
/* rgb */ color: rgb(24, 34, 115);
/* oklch */ color: oklch(30.6% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#655d9c',
    500: '#182273',
    950: '#000000',
  },
}
SCSS
$custom: #182273;
$custom-light: #655d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#182273",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 233.407,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.13764,
    "h": 270.1
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#182273
secondary
#A89D3F
accent
#D63FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182273

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

Preview Lab → · Contrast checker → · Palette generator →

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