#1A175F#1A175F

#1A175F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.6% C 0.122 H 276.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1A175F
RGBrgb(26, 23, 95)
HSLhsl(243, 61%, 23%)
HSVhsv(243, 76%, 37%)
CMYKcmyk(72.6%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.58, 26.87, -42.14)
CIE-LCHlch(13.58, 49.97, 302.52°)
OKLaboklab(26.64% 0.0127 -0.1217)
OKLCHoklch(26.64% 0.122 276)
XYZxyz(2.7973, 1.6584, 10.9969)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A175F #5C5F17
analogous
#17385F #1A175F #3E175F
triadic
#1A175F #5F1A17 #175F1A
tetradic
#1A175F #5F1738 #5C5F17 #175F3E
square
#1A175F #5F1738 #5C5F17 #175F3E
split-complementary
#1A175F #5F3E17 #385F17
monochromatic
#070619 #0D0B2E #1A175F #272390 #352FC2

Accessibility & contrast

On white

15.77
#1A175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1A175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A175F
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A175F#FFFFFF#000000##FFFFFF
##1A175F1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a175f;
/* rgb */ color: rgb(26, 23, 95);
/* oklch */ color: oklch(26.6% 0.122 276.0);
Tailwind
colors: {
  custom: {
    50: '#62558d',
    500: '#1a175f',
    950: '#000000',
  },
}
SCSS
$custom: #1a175f;
$custom-light: #62558d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a175f",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 242.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26641,
    "c": 0.1224,
    "h": 276
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#1A175F
secondary
#92963C
accent
#E444DD
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A175F

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

Preview Lab → · Contrast checker → · Palette generator →

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