#1A3F7D#1A3F7D

#1A3F7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.114 H 260.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#1A3F7D
RGBrgb(26, 63, 125)
HSLhsl(218, 66%, 30%)
HSVhsv(218, 79%, 49%)
CMYKcmyk(79.2%, 49.6%, 0%, 51%)
CIE-LABlab(27.45, 10.74, -38.97)
CIE-LCHlch(27.45, 40.42, 285.41°)
OKLaboklab(37.8% -0.0195 -0.1119)
OKLCHoklch(37.8% 0.114 260.1)
XYZxyz(5.9038, 5.2546, 20.1012)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F7D #7D581A
analogous
#1A717D #1A3F7D #271A7D
triadic
#1A3F7D #7D1A3F #3F7D1A
tetradic
#1A3F7D #7D1A71 #7D581A #1A7D27
square
#1A3F7D #7D1A71 #7D581A #1A7D27
split-complementary
#1A3F7D #7D271A #717D1A
monochromatic
#050D19 #0F254A #1A3F7D #2559B0 #3B75D6

Accessibility & contrast

On white

10.24
#1A3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1A3F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F7D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F7D#FFFFFF#000000##FFFFFF
##1A3F7D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3f7d;
/* rgb */ color: rgb(26, 63, 125);
/* oklch */ color: oklch(37.8% 0.114 260.1);
Tailwind
colors: {
  custom: {
    50: '#6673a3',
    500: '#1a3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f7d;
$custom-light: #6673a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f7d",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 217.576,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.378,
    "c": 0.1136,
    "h": 260.1
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#1A3F7D
secondary
#B18742
accent
#A93FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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