#181B69#181B69

#181B69 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.132 H 272.5°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#181B69
RGBrgb(24, 27, 105)
HSLhsl(238, 63%, 25%)
HSVhsv(238, 77%, 41%)
CMYKcmyk(77.1%, 74.3%, 0%, 58.8%)
CIE-LABlab(15.47, 27.74, -45.64)
CIE-LCHlch(15.47, 53.41, 301.29°)
OKLaboklab(28.29% 0.0058 -0.132)
OKLCHoklch(28.29% 0.132 272.5)
XYZxyz(3.3176, 1.9976, 13.5726)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B69 #696618
analogous
#184369 #181B69 #3D1869
triadic
#181B69 #69181B #1B6918
tetradic
#181B69 #691843 #696618 #18693D
square
#181B69 #691843 #696618 #18693D
split-complementary
#181B69 #693D18 #436918
monochromatic
#060619 #0D0E37 #181B69 #23289B #2F35CD

Accessibility & contrast

On white

15.00
#181B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B69
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B69#FFFFFF#000000##FFFFFF
##181B691.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181b69;
/* rgb */ color: rgb(24, 27, 105);
/* oklch */ color: oklch(28.3% 0.132 272.5);
Tailwind
colors: {
  custom: {
    50: '#635895',
    500: '#181b69',
    950: '#000000',
  },
}
SCSS
$custom: #181b69;
$custom-light: #635895;
$custom-dark: #000000;
JSON
{
  "hex": "#181b69",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 237.778,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.13216,
    "h": 272.5
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#181B69
secondary
#9F9B3E
accent
#E042E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181B69

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

Preview Lab → · Contrast checker → · Palette generator →

#181B69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva