#2A62AB#2A62AB

#2A62AB is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.131 H 256.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A62AB
RGBrgb(42, 98, 171)
HSLhsl(214, 61%, 42%)
HSVhsv(214, 75%, 67%)
CMYKcmyk(75.4%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.48, 7.66, -44.38)
CIE-LCHlch(41.48, 45.03, 279.80°)
OKLaboklab(49.75% -0.0309 -0.1269)
OKLCHoklch(49.75% 0.131 256.3)
XYZxyz(12.6705, 12.1664, 40.2008)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62AB #AB732A
analogous
#2AA3AB #2A62AB #322AAB
triadic
#2A62AB #AB2A62 #62AB2A
tetradic
#2A62AB #AB2AA3 #AB732A #2AAB32
square
#2A62AB #AB2AA3 #AB732A #2AAB32
split-complementary
#2A62AB #AB322A #A3AB2A
monochromatic
#122A49 #1E467A #2A62AB #4280D1 #73A1DD

Accessibility & contrast

On white

6.12
#2A62AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A62AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62AB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62AB#FFFFFF#000000##FFFFFF
##2A62AB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#285CAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a62ab;
/* rgb */ color: rgb(42, 98, 171);
/* oklch */ color: oklch(49.8% 0.131 256.3);
Tailwind
colors: {
  custom: {
    50: '#768ec4',
    500: '#2a62ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a62ab;
$custom-light: #768ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62ab",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 213.953,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.13062,
    "h": 256.3
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#2A62AB
secondary
#C49E6D
accent
#9E44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A62AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2A62AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva