#1A1273#1A1273

#1A1273 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.154 H 273.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1A1273
RGBrgb(26, 18, 115)
HSLhsl(245, 73%, 26%)
HSVhsv(245, 84%, 45%)
CMYKcmyk(77.4%, 84.3%, 0%, 54.9%)
CIE-LABlab(14.90, 36.82, -53.11)
CIE-LCHlch(14.90, 64.63, 304.74°)
OKLaboklab(28.26% 0.0106 -0.1536)
OKLCHoklch(28.26% 0.154 273.9)
XYZxyz(3.7358, 1.8896, 16.3842)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1273 #6B7312
analogous
#123A73 #1A1273 #4A1273
triadic
#1A1273 #731A12 #12731A
tetradic
#1A1273 #73123A #6B7312 #12734A
square
#1A1273 #73123A #6B7312 #12734A
split-complementary
#1A1273 #734A12 #3A7312
monochromatic
#06041A #0E0A3E #1A1273 #261AA8 #3223DD

Accessibility & contrast

On white

15.24
#1A1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A1273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1273
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1273#FFFFFF#000000##FFFFFF
##1A12731.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1273;
/* rgb */ color: rgb(26, 18, 115);
/* oklch */ color: oklch(28.3% 0.154 273.9);
Tailwind
colors: {
  custom: {
    50: '#68539c',
    500: '#1a1273',
    950: '#000000',
  },
}
SCSS
$custom: #1a1273;
$custom-light: #68539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1273",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 244.948,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28261,
    "c": 0.15397,
    "h": 273.9
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#1A1273
secondary
#A0AA37
accent
#F038E0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1273

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

Preview Lab → · Contrast checker → · Palette generator →

#1A1273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva