#1A125F#1A125F

#1A125F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.128 H 277.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1A125F
RGBrgb(26, 18, 95)
HSLhsl(246, 68%, 22%)
HSVhsv(246, 81%, 37%)
CMYKcmyk(72.6%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.47, 29.99, -43.97)
CIE-LCHlch(12.47, 53.22, 304.29°)
OKLaboklab(25.85% 0.016 -0.127)
OKLCHoklch(25.85% 0.128 277.2)
XYZxyz(2.7072, 1.4782, 10.9669)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A125F #575F12
analogous
#12305F #1A125F #41125F
triadic
#1A125F #5F1A12 #125F1A
tetradic
#1A125F #5F1230 #575F12 #125F41
square
#1A125F #5F1230 #575F12 #125F41
split-complementary
#1A125F #5F4112 #305F12
monochromatic
#07051A #0C082C #1A125F #281C92 #3625C6

Accessibility & contrast

On white

16.21
#1A125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1A125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A125F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A125F#FFFFFF#000000##FFFFFF
##1A125F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a125f;
/* rgb */ color: rgb(26, 18, 95);
/* oklch */ color: oklch(25.9% 0.128 277.2);
Tailwind
colors: {
  custom: {
    50: '#62518d',
    500: '#1a125f',
    950: '#000000',
  },
}
SCSS
$custom: #1a125f;
$custom-light: #62518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a125f",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 246.234,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25852,
    "c": 0.12806,
    "h": 277.2
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#1A125F
secondary
#8D9736
accent
#EB3DD9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A125F

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

Preview Lab → · Contrast checker → · Palette generator →

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