#2A62AA#2A62AA

#2A62AA is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.7% C 0.129 H 256.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2A62AA
RGBrgb(42, 98, 170)
HSLhsl(214, 60%, 42%)
HSVhsv(214, 75%, 67%)
CMYKcmyk(75.3%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.42, 7.28, -43.88)
CIE-LCHlch(41.42, 44.48, 279.42°)
OKLaboklab(49.69% -0.0311 -0.1255)
OKLCHoklch(49.69% 0.129 256.1)
XYZxyz(12.5756, 12.1285, 39.7007)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62AA #AA722A
analogous
#2AA2AA #2A62AA #322AAA
triadic
#2A62AA #AA2A62 #62AA2A
tetradic
#2A62AA #AA2AA2 #AA722A #2AAA32
square
#2A62AA #AA2AA2 #AA722A #2AAA32
split-complementary
#2A62AA #AA322A #A2AA2A
monochromatic
#122948 #1E4679 #2A62AA #4180D0 #72A1DC

Accessibility & contrast

On white

6.13
#2A62AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A62AA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62AA#FFFFFF#000000##FFFFFF
##2A62AA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#295CA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a62aa;
/* rgb */ color: rgb(42, 98, 170);
/* oklch */ color: oklch(49.7% 0.129 256.1);
Tailwind
colors: {
  custom: {
    50: '#758ec4',
    500: '#2a62aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a62aa;
$custom-light: #758ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62aa",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 213.75,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.12926,
    "h": 256.1
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#2A62AA
secondary
#C39D6C
accent
#9E44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2A62AA

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

Preview Lab → · Contrast checker → · Palette generator →

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