#2A63A6#2A63A6

#2A63A6 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.7% C 0.123 H 254.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A63A6
RGBrgb(42, 99, 166)
HSLhsl(212, 60%, 41%)
HSVhsv(212, 75%, 65%)
CMYKcmyk(74.7%, 40.4%, 0%, 34.9%)
CIE-LABlab(41.48, 5.12, -41.42)
CIE-LCHlch(41.48, 41.74, 277.05°)
OKLaboklab(49.66% -0.0329 -0.1182)
OKLCHoklch(49.66% 0.123 254.4)
XYZxyz(12.2971, 12.1677, 37.7695)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63A6 #A66D2A
analogous
#2AA1A6 #2A63A6 #2F2AA6
triadic
#2A63A6 #A62A63 #63A62A
tetradic
#2A63A6 #A62AA1 #A66D2A #2AA62F
square
#2A63A6 #A62AA1 #A66D2A #2AA62F
split-complementary
#2A63A6 #A62F2A #A1A62A
monochromatic
#112944 #1E4675 #2A63A6 #3F81CE #70A1DB

Accessibility & contrast

On white

6.12
#2A63A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A63A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63A6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63A6#FFFFFF#000000##FFFFFF
##2A63A61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#2F5DA5
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a63a6;
/* rgb */ color: rgb(42, 99, 166);
/* oklch */ color: oklch(49.7% 0.123 254.4);
Tailwind
colors: {
  custom: {
    50: '#748ec1',
    500: '#2a63a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a63a6;
$custom-light: #748ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63a6",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 166
  },
  "hsl": {
    "h": 212.419,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.12271,
    "h": 254.4
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#2A63A6
secondary
#C2996A
accent
#9A45E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A63A6

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

Preview Lab → · Contrast checker → · Palette generator →

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