#1A3175#1A3175

#1A3175 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.120 H 266.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1A3175
RGBrgb(26, 49, 117)
HSLhsl(225, 64%, 28%)
HSVhsv(225, 78%, 46%)
CMYKcmyk(77.8%, 58.1%, 0%, 54.1%)
CIE-LABlab(22.65, 17.35, -41.66)
CIE-LCHlch(22.65, 45.13, 292.61°)
OKLaboklab(33.96% -0.0085 -0.1201)
OKLCHoklch(33.96% 0.12 266)
XYZxyz(4.7341, 3.7001, 17.2909)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3175 #755E1A
analogous
#1A5E75 #1A3175 #301A75
triadic
#1A3175 #751A31 #31751A
tetradic
#1A3175 #751A5E #755E1A #1A7530
square
#1A3175 #751A5E #755E1A #1A7530
split-complementary
#1A3175 #75301A #5E751A
monochromatic
#060A19 #0F1C43 #1A3175 #2546A7 #375ED3

Accessibility & contrast

On white

12.07
#1A3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3175
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3175#FFFFFF#000000##FFFFFF
##1A31751.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a3175;
/* rgb */ color: rgb(26, 49, 117);
/* oklch */ color: oklch(34.0% 0.120 266.0);
Tailwind
colors: {
  custom: {
    50: '#65689d',
    500: '#1a3175',
    950: '#000000',
  },
}
SCSS
$custom: #1a3175;
$custom-light: #65689d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3175",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 224.835,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.12041,
    "h": 266
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#1A3175
secondary
#AA8F41
accent
#BD41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3175

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

Preview Lab → · Contrast checker → · Palette generator →

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