#2A62A2#2A62A2

#2A62A2 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.2% C 0.118 H 253.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2A62A2
RGBrgb(42, 98, 162)
HSLhsl(212, 59%, 40%)
HSVhsv(212, 74%, 64%)
CMYKcmyk(74.1%, 39.5%, 0%, 36.5%)
CIE-LABlab(40.95, 4.24, -39.89)
CIE-LCHlch(40.95, 40.12, 276.07°)
OKLaboklab(49.17% -0.033 -0.1137)
OKLCHoklch(49.17% 0.118 253.8)
XYZxyz(11.8417, 11.8349, 35.8357)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62A2 #A26A2A
analogous
#2A9EA2 #2A62A2 #2E2AA2
triadic
#2A62A2 #A22A62 #62A22A
tetradic
#2A62A2 #A22A9E #A26A2A #2AA22E
square
#2A62A2 #A22A9E #A26A2A #2AA22E
split-complementary
#2A62A2 #A22E2A #9EA22A
monochromatic
#112741 #1D4571 #2A62A2 #3D80CD #6DA0D9

Accessibility & contrast

On white

6.24
#2A62A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2A62A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62A2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62A2#FFFFFF#000000##FFFFFF
##2A62A21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a62a2;
/* rgb */ color: rgb(42, 98, 162);
/* oklch */ color: oklch(49.2% 0.118 253.8);
Tailwind
colors: {
  custom: {
    50: '#748ebe',
    500: '#2a62a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a62a2;
$custom-light: #748ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62a2",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 212,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.11843,
    "h": 253.8
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#2A62A2
secondary
#C09768
accent
#9946E2
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A62A2

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

Preview Lab → · Contrast checker → · Palette generator →

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