#1A2175#1A2175

#1A2175 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.141 H 271.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#1A2175
RGBrgb(26, 33, 117)
HSLhsl(235, 64%, 28%)
HSVhsv(235, 78%, 46%)
CMYKcmyk(77.8%, 71.8%, 0%, 54.1%)
CIE-LABlab(18.33, 28.53, -48.73)
CIE-LCHlch(18.33, 56.47, 300.34°)
OKLaboklab(30.76% 0.003 -0.141)
OKLCHoklch(30.76% 0.141 271.2)
XYZxyz(4.1797, 2.5912, 17.1061)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2175 #756E1A
analogous
#1A4E75 #1A2175 #411A75
triadic
#1A2175 #751A21 #21751A
tetradic
#1A2175 #751A4E #756E1A #1A7541
square
#1A2175 #751A4E #756E1A #1A7541
split-complementary
#1A2175 #75411A #4E751A
monochromatic
#060719 #0F1343 #1A2175 #252FA7 #3743D3

Accessibility & contrast

On white

13.83
#1A2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2175
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2175#FFFFFF#000000##FFFFFF
##1A21751.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2175;
/* rgb */ color: rgb(26, 33, 117);
/* oklch */ color: oklch(30.8% 0.141 271.2);
Tailwind
colors: {
  custom: {
    50: '#675c9e',
    500: '#1a2175',
    950: '#000000',
  },
}
SCSS
$custom: #1a2175;
$custom-light: #675c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2175",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 235.385,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30761,
    "c": 0.14104,
    "h": 271.2
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#1A2175
secondary
#AAA241
accent
#DA41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2175

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

Preview Lab → · Contrast checker → · Palette generator →

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