#1A1275#1A1275

#1A1275 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.156 H 273.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#1A1275
RGBrgb(26, 18, 117)
HSLhsl(245, 73%, 26%)
HSVhsv(245, 85%, 46%)
CMYKcmyk(77.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.15, 37.49, -53.98)
CIE-LCHlch(15.15, 65.72, 304.78°)
OKLaboklab(28.51% 0.0101 -0.1561)
OKLCHoklch(28.51% 0.156 273.7)
XYZxyz(3.8521, 1.9362, 16.9969)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1275 #6D7512
analogous
#123C75 #1A1275 #4C1275
triadic
#1A1275 #751A12 #12751A
tetradic
#1A1275 #75123C #6D7512 #12754C
square
#1A1275 #75123C #6D7512 #12754C
split-complementary
#1A1275 #754C12 #3C7512
monochromatic
#06041B #0E0A40 #1A1275 #261AAA #3324DD

Accessibility & contrast

On white

15.14
#1A1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1275
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1275#FFFFFF#000000##FFFFFF
##1A12751.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1275;
/* rgb */ color: rgb(26, 18, 117);
/* oklch */ color: oklch(28.5% 0.156 273.7);
Tailwind
colors: {
  custom: {
    50: '#68539e',
    500: '#1a1275',
    950: '#000000',
  },
}
SCSS
$custom: #1a1275;
$custom-light: #68539e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1275",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 244.848,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28509,
    "c": 0.15647,
    "h": 273.7
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#1A1275
secondary
#A2AC37
accent
#F038E1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1275

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

Preview Lab → · Contrast checker → · Palette generator →

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