#2A63AB#2A63AB

#2A63AB is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.0% C 0.129 H 255.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2A63AB
RGBrgb(42, 99, 171)
HSLhsl(213, 61%, 42%)
HSVhsv(213, 75%, 67%)
CMYKcmyk(75.4%, 42.1%, 0%, 32.9%)
CIE-LABlab(41.77, 7.02, -43.91)
CIE-LCHlch(41.77, 44.46, 279.09°)
OKLaboklab(49.98% -0.0318 -0.1255)
OKLCHoklch(49.98% 0.129 255.8)
XYZxyz(12.7647, 12.3547, 40.2321)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63AB #AB722A
analogous
#2AA4AB #2A63AB #312AAB
triadic
#2A63AB #AB2A63 #63AB2A
tetradic
#2A63AB #AB2AA4 #AB722A #2AAB31
square
#2A63AB #AB2AA4 #AB722A #2AAB31
split-complementary
#2A63AB #AB312A #A4AB2A
monochromatic
#122A49 #1E477A #2A63AB #4281D1 #73A2DD

Accessibility & contrast

On white

6.05
#2A63AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A63AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63AB#FFFFFF#000000##FFFFFF
##2A63AB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a63ab;
/* rgb */ color: rgb(42, 99, 171);
/* oklch */ color: oklch(50.0% 0.129 255.8);
Tailwind
colors: {
  custom: {
    50: '#758ec4',
    500: '#2a63ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a63ab;
$custom-light: #758ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63ab",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 171
  },
  "hsl": {
    "h": 213.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.12947,
    "h": 255.8
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#2A63AB
secondary
#C49D6D
accent
#9D44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63AB

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

Preview Lab → · Contrast checker → · Palette generator →

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