#181263#181263

#181263 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.134 H 275.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#181263
RGBrgb(24, 18, 99)
HSLhsl(244, 69%, 23%)
HSVhsv(244, 82%, 39%)
CMYKcmyk(75.8%, 81.8%, 0%, 61.2%)
CIE-LABlab(12.78, 31.18, -46.12)
CIE-LCHlch(12.78, 55.67, 304.06°)
OKLaboklab(26.17% 0.012 -0.1334)
OKLCHoklch(26.17% 0.134 275.2)
XYZxyz(2.8444, 1.5274, 11.9469)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181263 #5D6312
analogous
#123563 #181263 #401263
triadic
#181263 #631812 #126318
tetradic
#181263 #631235 #5D6312 #126340
square
#181263 #631235 #5D6312 #126340
split-complementary
#181263 #634012 #356312
monochromatic
#06051A #0B092F #181263 #251B97 #3125CB

Accessibility & contrast

On white

16.08
#181263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181263
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181263#FFFFFF#000000##FFFFFF
##1812631.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181263;
/* rgb */ color: rgb(24, 18, 99);
/* oklch */ color: oklch(26.2% 0.134 275.2);
Tailwind
colors: {
  custom: {
    50: '#635290',
    500: '#181263',
    950: '#000000',
  },
}
SCSS
$custom: #181263;
$custom-light: #635290;
$custom-dark: #000000;
JSON
{
  "hex": "#181263",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 244.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2617,
    "c": 0.13392,
    "h": 275.2
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#181263
secondary
#939B36
accent
#EC3CDF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181263

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

Preview Lab → · Contrast checker → · Palette generator →

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