#1A3A5B#1A3A5B

#1A3A5B is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.069 H 251.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1A3A5B
RGBrgb(26, 58, 91)
HSLhsl(210, 56%, 23%)
HSVhsv(210, 71%, 36%)
CMYKcmyk(71.4%, 36.3%, 0%, 64.3%)
CIE-LABlab(23.67, 0.36, -23.21)
CIE-LCHlch(23.67, 23.22, 270.89°)
OKLaboklab(34.17% -0.0224 -0.0658)
OKLCHoklch(34.17% 0.069 251.2)
XYZxyz(3.8267, 4.0007, 10.4660)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A5B #5B3B1A
analogous
#1A5A5B #1A3A5B #1B1A5B
triadic
#1A3A5B #5B1A3A #3A5B1A
tetradic
#1A3A5B #5B1A5A #5B3B1A #1A5B1B
square
#1A3A5B #5B1A5A #5B3B1A #1A5B1B
split-complementary
#1A3A5B #5B1B1A #5A5B1A
monochromatic
#070F18 #0C1C2B #1A3A5B #28588B #3577BA

Accessibility & contrast

On white

11.67
#1A3A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A3A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A5B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A5B#FFFFFF#000000##FFFFFF
##1A3A5B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5C
Deuteranopia (green-blind)
#22365A
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a3a5b;
/* rgb */ color: rgb(26, 58, 91);
/* oklch */ color: oklch(34.2% 0.069 251.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f89',
    500: '#1a3a5b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a5b;
$custom-light: #5f6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a5b",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 91
  },
  "hsl": {
    "h": 210.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34166,
    "c": 0.06949,
    "h": 251.2
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#1A3A5B
secondary
#916940
accent
#9549DF
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1A3A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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