#1A3F71#1A3F71

#1A3F71 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.096 H 256.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#1A3F71
RGBrgb(26, 63, 113)
HSLhsl(214, 63%, 27%)
HSVhsv(214, 77%, 44%)
CMYKcmyk(77%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.64, 5.82, -32.69)
CIE-LCHlch(26.64, 33.21, 280.09°)
OKLaboklab(36.91% -0.0218 -0.0935)
OKLCHoklch(36.91% 0.096 256.8)
XYZxyz(5.1831, 4.9663, 16.3050)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F71 #714C1A
analogous
#1A6B71 #1A3F71 #211A71
triadic
#1A3F71 #711A3F #3F711A
tetradic
#1A3F71 #711A6B #714C1A #1A7121
square
#1A3F71 #711A6B #714C1A #1A7121
split-complementary
#1A3F71 #71211A #6B711A
monochromatic
#060E19 #0F233F #1A3F71 #255BA3 #3577D0

Accessibility & contrast

On white

10.53
#1A3F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1A3F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F71
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F71#FFFFFF#000000##FFFFFF
##1A3F711.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#183B70
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3f71;
/* rgb */ color: rgb(26, 63, 113);
/* oklch */ color: oklch(36.9% 0.096 256.8);
Tailwind
colors: {
  custom: {
    50: '#64739a',
    500: '#1a3f71',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f71;
$custom-light: #64739a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f71",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 214.483,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36914,
    "c": 0.09598,
    "h": 256.8
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#1A3F71
secondary
#A67B41
accent
#A042E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1A3F71

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

Preview Lab → · Contrast checker → · Palette generator →

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