#182276#182276

#182276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.142 H 270.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#182276
RGBrgb(24, 34, 118)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 80%, 46%)
CMYKcmyk(79.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.57, 28.03, -48.99)
CIE-LCHlch(18.57, 56.44, 299.77°)
OKLaboklab(30.94% 0 -0.1418)
OKLCHoklch(30.94% 0.142 270)
XYZxyz(4.2176, 2.6458, 17.4244)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182276 #766C18
analogous
#185176 #182276 #3D1876
triadic
#182276 #761822 #227618
tetradic
#182276 #761851 #766C18 #18763D
square
#182276 #761851 #766C18 #18763D
split-complementary
#182276 #763D18 #517618
monochromatic
#050719 #0E1343 #182276 #2231A9 #3344D5

Accessibility & contrast

On white

13.73
#182276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182276
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182276#FFFFFF#000000##FFFFFF
##1822761.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182276;
/* rgb */ color: rgb(24, 34, 118);
/* oklch */ color: oklch(30.9% 0.142 270.0);
Tailwind
colors: {
  custom: {
    50: '#665d9e',
    500: '#182276',
    950: '#000000',
  },
}
SCSS
$custom: #182276;
$custom-light: #665d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#182276",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 233.617,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30936,
    "c": 0.14179,
    "h": 270
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#182276
secondary
#ABA03F
accent
#D73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182276

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

Preview Lab → · Contrast checker → · Palette generator →

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