#1A3A7F#1A3A7F

#1A3A7F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.123 H 263.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#1A3A7F
RGBrgb(26, 58, 127)
HSLhsl(221, 66%, 30%)
HSVhsv(221, 80%, 50%)
CMYKcmyk(79.5%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.09, 15.07, -42.42)
CIE-LCHlch(26.09, 45.01, 289.55°)
OKLaboklab(36.81% -0.0149 -0.1222)
OKLCHoklch(36.81% 0.123 263)
XYZxyz(5.7685, 4.7774, 20.6927)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A7F #7F5F1A
analogous
#1A6D7F #1A3A7F #2C1A7F
triadic
#1A3A7F #7F1A3A #3A7F1A
tetradic
#1A3A7F #7F1A6D #7F5F1A #1A7F2C
square
#1A3A7F #7F1A6D #7F5F1A #1A7F2C
split-complementary
#1A3A7F #7F2C1A #6D7F1A
monochromatic
#050C19 #10234C #1A3A7F #2451B2 #3C6DD7

Accessibility & contrast

On white

10.74
#1A3A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1A3A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A7F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A7F#FFFFFF#000000##FFFFFF
##1A3A7F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094381
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3a7f;
/* rgb */ color: rgb(26, 58, 127);
/* oklch */ color: oklch(36.8% 0.123 263.0);
Tailwind
colors: {
  custom: {
    50: '#676fa5',
    500: '#1a3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a7f;
$custom-light: #676fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a7f",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 220.99,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.12308,
    "h": 263
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#1A3A7F
secondary
#B38F42
accent
#B33FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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