#182255#182255

#182255 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.093 H 270.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#182255
RGBrgb(24, 34, 85)
HSLhsl(230, 56%, 21%)
HSVhsv(230, 72%, 33%)
CMYKcmyk(71.8%, 60%, 0%, 66.7%)
CIE-LABlab(15.46, 14.84, -32.37)
CIE-LCHlch(15.46, 35.61, 294.62°)
OKLaboklab(27.68% 0.0012 -0.0931)
OKLCHoklch(27.68% 0.093 270.7)
XYZxyz(2.5879, 1.9939, 8.8410)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182255 #554B18
analogous
#184155 #182255 #2D1855
triadic
#182255 #551822 #225518
tetradic
#182255 #551841 #554B18 #18552D
square
#182255 #551841 #554B18 #18552D
split-complementary
#182255 #552D18 #415518
monochromatic
#070A18 #0B0F25 #182255 #253585 #3348B4

Accessibility & contrast

On white

15.01
#182255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#182255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182255
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182255#FFFFFF#000000##FFFFFF
##1822551.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #182255;
/* rgb */ color: rgb(24, 34, 85);
/* oklch */ color: oklch(27.7% 0.093 270.7);
Tailwind
colors: {
  custom: {
    50: '#5d5c85',
    500: '#182255',
    950: '#000000',
  },
}
SCSS
$custom: #182255;
$custom-light: #5d5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#182255",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 230.164,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27683,
    "c": 0.09309,
    "h": 270.7
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#182255
secondary
#8C7F3D
accent
#C749DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182255

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

Preview Lab → · Contrast checker → · Palette generator →

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