#1A125D#1A125D

#1A125D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.125 H 277.6°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#1A125D
RGBrgb(26, 18, 93)
HSLhsl(246, 68%, 22%)
HSVhsv(246, 81%, 36%)
CMYKcmyk(72%, 80.6%, 0%, 63.5%)
CIE-LABlab(12.24, 29.28, -43.01)
CIE-LCHlch(12.24, 52.04, 304.25°)
OKLaboklab(25.62% 0.0166 -0.1243)
OKLCHoklch(25.62% 0.125 277.6)
XYZxyz(2.6175, 1.4423, 10.4943)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A125D #555D12
analogous
#12305D #1A125D #40125D
triadic
#1A125D #5D1A12 #125D1A
tetradic
#1A125D #5D1230 #555D12 #125D40
square
#1A125D #5D1230 #555D12 #125D40
split-complementary
#1A125D #5D4012 #305D12
monochromatic
#07051A #0C082A #1A125D #281C90 #3726C4

Accessibility & contrast

On white

16.30
#1A125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A125D
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A125D#FFFFFF#000000##FFFFFF
##1A125D1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a125d;
/* rgb */ color: rgb(26, 18, 93);
/* oklch */ color: oklch(25.6% 0.125 277.6);
Tailwind
colors: {
  custom: {
    50: '#62518c',
    500: '#1a125d',
    950: '#000000',
  },
}
SCSS
$custom: #1a125d;
$custom-light: #62518c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a125d",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 246.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25619,
    "c": 0.12537,
    "h": 277.6
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#1A125D
secondary
#8B9535
accent
#EA3DD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A125D

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

Preview Lab → · Contrast checker → · Palette generator →

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