#182277#182277

#182277 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.143 H 270.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#182277
RGBrgb(24, 34, 119)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(79.8%, 71.4%, 0%, 53.3%)
CIE-LABlab(18.67, 28.41, -49.46)
CIE-LCHlch(18.67, 57.04, 299.87°)
OKLaboklab(31.04% -0.0001 -0.1432)
OKLCHoklch(31.04% 0.143 270)
XYZxyz(4.2773, 2.6697, 17.7391)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182277 #776D18
analogous
#185177 #182277 #3D1877
triadic
#182277 #771822 #227718
tetradic
#182277 #771851 #776D18 #18773D
square
#182277 #771851 #776D18 #18773D
split-complementary
#182277 #773D18 #517718
monochromatic
#050719 #0E1344 #182277 #2231AA #3345D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182277#FFFFFF#000000##FFFFFF
##1822771.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)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182277;
/* rgb */ color: rgb(24, 34, 119);
/* oklch */ color: oklch(31.0% 0.143 270.0);
Tailwind
colors: {
  custom: {
    50: '#665d9f',
    500: '#182277',
    950: '#000000',
  },
}
SCSS
$custom: #182277;
$custom-light: #665d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#182277",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 233.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.14317,
    "h": 270
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#182277
secondary
#ACA13F
accent
#D73EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182277

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

Preview Lab → · Contrast checker → · Palette generator →

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