#2A63A2#2A63A2

#2A63A2 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.4% C 0.117 H 253.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2A63A2
RGBrgb(42, 99, 162)
HSLhsl(212, 59%, 40%)
HSVhsv(212, 74%, 64%)
CMYKcmyk(74.1%, 38.9%, 0%, 36.5%)
CIE-LABlab(41.25, 3.60, -39.41)
CIE-LCHlch(41.25, 39.58, 275.23°)
OKLaboklab(49.41% -0.0339 -0.1123)
OKLCHoklch(49.41% 0.117 253.2)
XYZxyz(11.9358, 12.0232, 35.8671)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63A2 #A2692A
analogous
#2A9FA2 #2A63A2 #2D2AA2
triadic
#2A63A2 #A22A63 #63A22A
tetradic
#2A63A2 #A22A9F #A2692A #2AA22D
square
#2A63A2 #A22A9F #A2692A #2AA22D
split-complementary
#2A63A2 #A22D2A #9FA22A
monochromatic
#112841 #1D4571 #2A63A2 #3D81CD #6DA0D9

Accessibility & contrast

On white

6.17
#2A63A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A63A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63A2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63A2#FFFFFF#000000##FFFFFF
##2A63A21.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#00727A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a63a2;
/* rgb */ color: rgb(42, 99, 162);
/* oklch */ color: oklch(49.4% 0.117 253.2);
Tailwind
colors: {
  custom: {
    50: '#748fbe',
    500: '#2a63a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a63a2;
$custom-light: #748fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63a2",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 162
  },
  "hsl": {
    "h": 211.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.11734,
    "h": 253.2
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#2A63A2
secondary
#C09668
accent
#9846E2
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A63A2

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

Preview Lab → · Contrast checker → · Palette generator →

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