#2A62A8#2A62A8

#2A62A8 is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.6% C 0.127 H 255.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2A62A8
RGBrgb(42, 98, 168)
HSLhsl(213, 60%, 41%)
HSVhsv(213, 75%, 66%)
CMYKcmyk(75%, 41.7%, 0%, 34.1%)
CIE-LABlab(41.30, 6.52, -42.89)
CIE-LCHlch(41.30, 43.38, 278.64°)
OKLaboklab(49.56% -0.0315 -0.1225)
OKLCHoklch(49.56% 0.127 255.6)
XYZxyz(12.3878, 12.0534, 38.7119)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62A8 #A8702A
analogous
#2AA1A8 #2A62A8 #312AA8
triadic
#2A62A8 #A82A62 #62A82A
tetradic
#2A62A8 #A82AA1 #A8702A #2AA831
square
#2A62A8 #A82AA1 #A8702A #2AA831
split-complementary
#2A62A8 #A8312A #A1A82A
monochromatic
#122946 #1E4577 #2A62A8 #4080CF #71A0DB

Accessibility & contrast

On white

6.16
#2A62A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A62A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62A8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62A8#FFFFFF#000000##FFFFFF
##2A62A81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a62a8;
/* rgb */ color: rgb(42, 98, 168);
/* oklch */ color: oklch(49.6% 0.127 255.6);
Tailwind
colors: {
  custom: {
    50: '#758ec2',
    500: '#2a62a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a62a8;
$custom-light: #758ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62a8",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 168
  },
  "hsl": {
    "h": 213.333,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.12655,
    "h": 255.6
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#2A62A8
secondary
#C39C6B
accent
#9D45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A62A8

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

Preview Lab → · Contrast checker → · Palette generator →

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