#2A62A6#2A62A6

#2A62A6 is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.4% C 0.124 H 255.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2A62A6
RGBrgb(42, 98, 166)
HSLhsl(213, 60%, 41%)
HSVhsv(213, 75%, 65%)
CMYKcmyk(74.7%, 41%, 0%, 34.9%)
CIE-LABlab(41.18, 5.76, -41.90)
CIE-LCHlch(41.18, 42.29, 277.83°)
OKLaboklab(49.43% -0.032 -0.1196)
OKLCHoklch(49.43% 0.124 255)
XYZxyz(12.2029, 11.9794, 37.7381)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62A6 #A66E2A
analogous
#2AA0A6 #2A62A6 #302AA6
triadic
#2A62A6 #A62A62 #62A62A
tetradic
#2A62A6 #A62AA0 #A66E2A #2AA630
square
#2A62A6 #A62AA0 #A66E2A #2AA630
split-complementary
#2A62A6 #A6302A #A0A62A
monochromatic
#112844 #1E4575 #2A62A6 #3F80CE #70A0DB

Accessibility & contrast

On white

6.18
#2A62A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A62A6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62A6#FFFFFF#000000##FFFFFF
##2A62A61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A9
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#00727C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a62a6;
/* rgb */ color: rgb(42, 98, 166);
/* oklch */ color: oklch(49.4% 0.124 255.0);
Tailwind
colors: {
  custom: {
    50: '#748ec1',
    500: '#2a62a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a62a6;
$custom-light: #748ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62a6",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 166
  },
  "hsl": {
    "h": 212.903,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.12384,
    "h": 255
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A62A6

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

Preview Lab → · Contrast checker → · Palette generator →

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