#1A125A#1A125A

#1A125A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.121 H 278.2°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#1A125A
RGBrgb(26, 18, 90)
HSLhsl(247, 67%, 21%)
HSVhsv(247, 80%, 35%)
CMYKcmyk(71.1%, 80%, 0%, 64.7%)
CIE-LABlab(11.89, 28.22, -41.56)
CIE-LCHlch(11.89, 50.24, 304.17°)
OKLaboklab(25.27% 0.0173 -0.12)
OKLCHoklch(25.27% 0.121 278.2)
XYZxyz(2.4872, 1.3902, 9.8081)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A125A #525A12
analogous
#122E5A #1A125A #3E125A
triadic
#1A125A #5A1A12 #125A1A
tetradic
#1A125A #5A122E #525A12 #125A3E
square
#1A125A #5A122E #525A12 #125A3E
split-complementary
#1A125A #5A3E12 #2E5A12
monochromatic
#07051A #0B0827 #1A125A #291C8D #3726C0

Accessibility & contrast

On white

16.43
#1A125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1A125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A125A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A125A#FFFFFF#000000##FFFFFF
##1A125A1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a125a;
/* rgb */ color: rgb(26, 18, 90);
/* oklch */ color: oklch(25.3% 0.121 278.2);
Tailwind
colors: {
  custom: {
    50: '#61518a',
    500: '#1a125a',
    950: '#000000',
  },
}
SCSS
$custom: #1a125a;
$custom-light: #61518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a125a",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 246.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25273,
    "c": 0.12128,
    "h": 278.2
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#1A125A
secondary
#889335
accent
#EA3ED7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A125A

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

Preview Lab → · Contrast checker → · Palette generator →

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