#2A62A7#2A62A7

#2A62A7 is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.5% C 0.125 H 255.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2A62A7
RGBrgb(42, 98, 167)
HSLhsl(213, 60%, 41%)
HSVhsv(213, 75%, 65%)
CMYKcmyk(74.9%, 41.3%, 0%, 34.5%)
CIE-LABlab(41.24, 6.14, -42.39)
CIE-LCHlch(41.24, 42.84, 278.24°)
OKLaboklab(49.49% -0.0318 -0.1211)
OKLCHoklch(49.49% 0.125 255.3)
XYZxyz(12.2950, 12.0162, 38.2231)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62A7 #A76F2A
analogous
#2AA0A7 #2A62A7 #302AA7
triadic
#2A62A7 #A72A62 #62A72A
tetradic
#2A62A7 #A72AA0 #A76F2A #2AA730
square
#2A62A7 #A72AA0 #A76F2A #2AA730
split-complementary
#2A62A7 #A7302A #A0A72A
monochromatic
#112945 #1E4576 #2A62A7 #3F80CF #70A0DB

Accessibility & contrast

On white

6.17
#2A62A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2A62A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62A7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62A7#FFFFFF#000000##FFFFFF
##2A62A71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167AA
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#00727C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a62a7;
/* rgb */ color: rgb(42, 98, 167);
/* oklch */ color: oklch(49.5% 0.125 255.3);
Tailwind
colors: {
  custom: {
    50: '#758ec1',
    500: '#2a62a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a62a7;
$custom-light: #758ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62a7",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 213.12,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.12519,
    "h": 255.3
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#2A62A7
secondary
#C29B6B
accent
#9C45E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A62A7

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

Preview Lab → · Contrast checker → · Palette generator →

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