#1A508E#1A508E

#1A508E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.117 H 254.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1A508E
RGBrgb(26, 80, 142)
HSLhsl(212, 69%, 33%)
HSVhsv(212, 82%, 56%)
CMYKcmyk(81.7%, 43.7%, 0%, 44.3%)
CIE-LABlab(33.79, 6.09, -39.31)
CIE-LCHlch(33.79, 39.77, 278.81°)
OKLaboklab(43.07% -0.031 -0.1126)
OKLCHoklch(43.07% 0.117 254.6)
XYZxyz(8.1753, 7.9089, 26.6816)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A508E #8E581A
analogous
#1A8A8E #1A508E #1E1A8E
triadic
#1A508E #8E1A50 #508E1A
tetradic
#1A508E #8E1A8A #8E581A #1A8E1E
square
#1A508E #8E1A8A #8E581A #1A8E1E
split-complementary
#1A508E #8E1E1A #8A8E1A
monochromatic
#071627 #11335A #1A508E #236DC2 #458CDD

Accessibility & contrast

On white

8.13
#1A508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A508E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A508E#FFFFFF#000000##FFFFFF
##1A508E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a508e;
/* rgb */ color: rgb(26, 80, 142);
/* oklch */ color: oklch(43.1% 0.117 254.6);
Tailwind
colors: {
  custom: {
    50: '#6a80af',
    500: '#1a508e',
    950: '#000000',
  },
}
SCSS
$custom: #1a508e;
$custom-light: #6a80af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a508e",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 212.069,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.11676,
    "h": 254.6
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#1A508E
secondary
#BE8645
accent
#9A3CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1A508E

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

Preview Lab → · Contrast checker → · Palette generator →

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