#1A3A5E#1A3A5E

#1A3A5E is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.074 H 253.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1A3A5E
RGBrgb(26, 58, 94)
HSLhsl(212, 57%, 24%)
HSVhsv(212, 72%, 37%)
CMYKcmyk(72.3%, 38.3%, 0%, 63.1%)
CIE-LABlab(23.85, 1.56, -24.90)
CIE-LCHlch(23.85, 24.95, 273.59°)
OKLaboklab(34.36% -0.0215 -0.0707)
OKLCHoklch(34.36% 0.074 253.1)
XYZxyz(3.9587, 4.0535, 11.1613)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A5E #5E3E1A
analogous
#1A5C5E #1A3A5E #1C1A5E
triadic
#1A3A5E #5E1A3A #3A5E1A
tetradic
#1A3A5E #5E1A5C #5E3E1A #1A5E1C
square
#1A3A5E #5E1A5C #5E3E1A #1A5E1C
split-complementary
#1A3A5E #5E1C1A #5C5E1A
monochromatic
#070F18 #0D1C2E #1A3A5E #27588E #3575BE

Accessibility & contrast

On white

11.60
#1A3A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A3A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A5E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A5E#FFFFFF#000000##FFFFFF
##1A3A5E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3a5e;
/* rgb */ color: rgb(26, 58, 94);
/* oklch */ color: oklch(34.4% 0.074 253.1);
Tailwind
colors: {
  custom: {
    50: '#5f6f8c',
    500: '#1a3a5e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a5e;
$custom-light: #5f6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a5e",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 94
  },
  "hsl": {
    "h": 211.765,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.0739,
    "h": 253.1
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#1A3A5E
secondary
#946C40
accent
#9848E0
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1A3A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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