#18276A#18276A

#18276A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.118 H 268.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#18276A
RGBrgb(24, 39, 106)
HSLhsl(229, 63%, 25%)
HSVhsv(229, 77%, 42%)
CMYKcmyk(77.4%, 63.2%, 0%, 58.4%)
CIE-LABlab(18.74, 19.77, -40.95)
CIE-LCHlch(18.74, 45.47, 295.77°)
OKLaboklab(30.71% -0.0027 -0.1182)
OKLCHoklch(30.71% 0.118 268.7)
XYZxyz(3.7028, 2.6854, 13.9561)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18276A #6A5B18
analogous
#18506A #18276A #32186A
triadic
#18276A #6A1827 #276A18
tetradic
#18276A #6A1850 #6A5B18 #186A32
square
#18276A #6A1850 #6A5B18 #186A32
split-complementary
#18276A #6A3218 #506A18
monochromatic
#060919 #0D1538 #18276A #23399C #2F4CCE

Accessibility & contrast

On white

13.66
#18276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#18276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18276A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18276A#FFFFFF#000000##FFFFFF
##18276A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18276a;
/* rgb */ color: rgb(24, 39, 106);
/* oklch */ color: oklch(30.7% 0.118 268.7);
Tailwind
colors: {
  custom: {
    50: '#626095',
    500: '#18276a',
    950: '#000000',
  },
}
SCSS
$custom: #18276a;
$custom-light: #626095;
$custom-dark: #000000;
JSON
{
  "hex": "#18276a",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 229.024,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.11824,
    "h": 268.7
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#18276A
secondary
#A08E3E
accent
#C842E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #18276A

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

Preview Lab → · Contrast checker → · Palette generator →

#18276A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva