#2A62AF#2A62AF

#2A62AF is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 50.0% C 0.136 H 257.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2A62AF
RGBrgb(42, 98, 175)
HSLhsl(215, 61%, 43%)
HSVhsv(215, 76%, 69%)
CMYKcmyk(76%, 44%, 0%, 31.4%)
CIE-LABlab(41.72, 9.19, -46.34)
CIE-LCHlch(41.72, 47.25, 281.22°)
OKLaboklab(50.02% -0.0301 -0.1327)
OKLCHoklch(50.02% 0.136 257.2)
XYZxyz(13.0576, 12.3213, 42.2392)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62AF #AF772A
analogous
#2AA4AF #2A62AF #352AAF
triadic
#2A62AF #AF2A62 #62AF2A
tetradic
#2A62AF #AF2AA4 #AF772A #2AAF35
square
#2A62AF #AF2AA4 #AF772A #2AAF35
split-complementary
#2A62AF #AF352A #A4AF2A
monochromatic
#122B4C #1E467E #2A62AF #4480D2 #75A1DE

Accessibility & contrast

On white

6.06
#2A62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62AF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62AF#FFFFFF#000000##FFFFFF
##2A62AF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a62af;
/* rgb */ color: rgb(42, 98, 175);
/* oklch */ color: oklch(50.0% 0.136 257.2);
Tailwind
colors: {
  custom: {
    50: '#768ec7',
    500: '#2a62af',
    950: '#000000',
  },
}
SCSS
$custom: #2a62af;
$custom-light: #768ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62af",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 214.737,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.13605,
    "h": 257.2
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#2A62AF
secondary
#C6A16F
accent
#A143E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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