#181260#181260

#181260 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.130 H 275.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#181260
RGBrgb(24, 18, 96)
HSLhsl(245, 68%, 22%)
HSVhsv(245, 81%, 38%)
CMYKcmyk(75%, 81.3%, 0%, 62.4%)
CIE-LABlab(12.42, 30.12, -44.72)
CIE-LCHlch(12.42, 53.91, 303.96°)
OKLaboklab(25.81% 0.0128 -0.1293)
OKLCHoklch(25.81% 0.13 275.7)
XYZxyz(2.7036, 1.4711, 11.2055)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181260 #5A6012
analogous
#123360 #181260 #3F1260
triadic
#181260 #601812 #126018
tetradic
#181260 #601233 #5A6012 #12603F
square
#181260 #601233 #5A6012 #12603F
split-complementary
#181260 #603F12 #336012
monochromatic
#06051A #0B082C #181260 #251C94 #3225C7

Accessibility & contrast

On white

16.23
#181260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181260
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181260#FFFFFF#000000##FFFFFF
##1812601.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001D5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181260;
/* rgb */ color: rgb(24, 18, 96);
/* oklch */ color: oklch(25.8% 0.130 275.7);
Tailwind
colors: {
  custom: {
    50: '#62518e',
    500: '#181260',
    950: '#000000',
  },
}
SCSS
$custom: #181260;
$custom-light: #62518e;
$custom-dark: #000000;
JSON
{
  "hex": "#181260",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 244.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25812,
    "c": 0.12992,
    "h": 275.7
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#181260
secondary
#919836
accent
#EB3DDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181260

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

Preview Lab → · Contrast checker → · Palette generator →

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