#1A3F74#1A3F74

#1A3F74 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.100 H 257.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1A3F74
RGBrgb(26, 63, 116)
HSLhsl(215, 63%, 28%)
HSVhsv(215, 78%, 45%)
CMYKcmyk(77.6%, 45.7%, 0%, 54.5%)
CIE-LABlab(26.83, 7.05, -34.28)
CIE-LCHlch(26.83, 35.00, 281.61°)
OKLaboklab(37.13% -0.0212 -0.0981)
OKLCHoklch(37.13% 0.1 257.8)
XYZxyz(5.3547, 5.0350, 17.2092)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F74 #744F1A
analogous
#1A6C74 #1A3F74 #221A74
triadic
#1A3F74 #741A3F #3F741A
tetradic
#1A3F74 #741A6C #744F1A #1A7422
square
#1A3F74 #741A6C #744F1A #1A7422
split-complementary
#1A3F74 #74221A #6C741A
monochromatic
#060E19 #0F2442 #1A3F74 #255AA6 #3676D2

Accessibility & contrast

On white

10.46
#1A3F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F74
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F74#FFFFFF#000000##FFFFFF
##1A3F741.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3f74;
/* rgb */ color: rgb(26, 63, 116);
/* oklch */ color: oklch(37.1% 0.100 257.8);
Tailwind
colors: {
  custom: {
    50: '#64739c',
    500: '#1a3f74',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f74;
$custom-light: #64739c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f74",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 215.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.10039,
    "h": 257.8
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#1A3F74
secondary
#A97E41
accent
#A341E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1A3F74

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

Preview Lab → · Contrast checker → · Palette generator →

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