#1A4A8B#1A4A8B

#1A4A8B is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.120 H 257.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1A4A8B
RGBrgb(26, 74, 139)
HSLhsl(215, 68%, 32%)
HSVhsv(215, 81%, 55%)
CMYKcmyk(81.3%, 46.8%, 0%, 45.5%)
CIE-LABlab(31.76, 8.90, -40.72)
CIE-LCHlch(31.76, 41.69, 282.33°)
OKLaboklab(41.43% -0.0265 -0.1168)
OKLCHoklch(41.43% 0.12 257.2)
XYZxyz(7.5333, 6.9804, 25.3714)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A8B #8B5B1A
analogous
#1A838B #1A4A8B #221A8B
triadic
#1A4A8B #8B1A4A #4A8B1A
tetradic
#1A4A8B #8B1A83 #8B5B1A #1A8B22
square
#1A4A8B #8B1A83 #8B5B1A #1A8B22
split-complementary
#1A4A8B #8B221A #838B1A
monochromatic
#071324 #102F57 #1A4A8B #2465BF #4384DC

Accessibility & contrast

On white

8.76
#1A4A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1A4A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A8B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A8B#FFFFFF#000000##FFFFFF
##1A4A8B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4a8b;
/* rgb */ color: rgb(26, 74, 139);
/* oklch */ color: oklch(41.4% 0.120 257.2);
Tailwind
colors: {
  custom: {
    50: '#6a7bad',
    500: '#1a4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a8b;
$custom-light: #6a7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a8b",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 214.513,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.11981,
    "h": 257.2
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#1A4A8B
secondary
#BD8A44
accent
#A13CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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