#1A3E7D#1A3E7D

#1A3E7D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.115 H 260.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1A3E7D
RGBrgb(26, 62, 125)
HSLhsl(218, 66%, 30%)
HSVhsv(218, 79%, 49%)
CMYKcmyk(79.2%, 50.4%, 0%, 51%)
CIE-LABlab(27.14, 11.44, -39.46)
CIE-LCHlch(27.14, 41.08, 286.16°)
OKLaboklab(37.57% -0.0186 -0.1134)
OKLCHoklch(37.57% 0.115 260.7)
XYZxyz(5.8490, 5.1449, 20.0829)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E7D #7D591A
analogous
#1A707D #1A3E7D #281A7D
triadic
#1A3E7D #7D1A3E #3E7D1A
tetradic
#1A3E7D #7D1A70 #7D591A #1A7D28
square
#1A3E7D #7D1A70 #7D591A #1A7D28
split-complementary
#1A3E7D #7D281A #707D1A
monochromatic
#050D19 #0F254A #1A3E7D #2557B0 #3B74D6

Accessibility & contrast

On white

10.35
#1A3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1A3E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E7D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E7D#FFFFFF#000000##FFFFFF
##1A3E7D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3e7d;
/* rgb */ color: rgb(26, 62, 125);
/* oklch */ color: oklch(37.6% 0.115 260.7);
Tailwind
colors: {
  custom: {
    50: '#6772a3',
    500: '#1a3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e7d;
$custom-light: #6772a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e7d",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 218.182,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.1149,
    "h": 260.7
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#1A3E7D
secondary
#B18942
accent
#AB3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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