#2A63AC#2A63AC

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

Color values

HEX#2A63AC
RGBrgb(42, 99, 172)
HSLhsl(214, 61%, 42%)
HSVhsv(214, 76%, 67%)
CMYKcmyk(75.6%, 42.4%, 0%, 32.5%)
CIE-LABlab(41.83, 7.40, -44.40)
CIE-LCHlch(41.83, 45.01, 279.47°)
OKLaboklab(50.05% -0.0316 -0.127)
OKLCHoklch(50.05% 0.131 256)
XYZxyz(12.8603, 12.3930, 40.7360)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63AC #AC732A
analogous
#2AA4AC #2A63AC #322AAC
triadic
#2A63AC #AC2A63 #63AC2A
tetradic
#2A63AC #AC2AA4 #AC732A #2AAC32
square
#2A63AC #AC2AA4 #AC732A #2AAC32
split-complementary
#2A63AC #AC322A #A4AC2A
monochromatic
#122A4A #1E477B #2A63AC #4281D1 #73A2DD

Accessibility & contrast

On white

6.04
#2A63AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A63AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63AC#FFFFFF#000000##FFFFFF
##2A63AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#295DAB
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a63ac;
/* rgb */ color: rgb(42, 99, 172);
/* oklch */ color: oklch(50.0% 0.131 256.0);
Tailwind
colors: {
  custom: {
    50: '#768ec5',
    500: '#2a63ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a63ac;
$custom-light: #768ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63ac",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 172
  },
  "hsl": {
    "h": 213.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.13083,
    "h": 256
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#2A63AC
secondary
#C49E6D
accent
#9E44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63AC

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

Preview Lab → · Contrast checker → · Palette generator →

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