#2A63B4#2A63B4

#2A63B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.142 H 257.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2A63B4
RGBrgb(42, 99, 180)
HSLhsl(215, 62%, 44%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(76.7%, 45%, 0%, 29.4%)
CIE-LABlab(42.32, 10.46, -48.31)
CIE-LCHlch(42.32, 49.43, 282.22°)
OKLaboklab(50.58% -0.0299 -0.1385)
OKLCHoklch(50.58% 0.142 257.8)
XYZxyz(13.6519, 12.7096, 44.9049)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B4 #B47B2A
analogous
#2AA8B4 #2A63B4 #362AB4
triadic
#2A63B4 #B42A63 #63B42A
tetradic
#2A63B4 #B42AA8 #B47B2A #2AB436
square
#2A63B4 #B42AA8 #B47B2A #2AB436
split-complementary
#2A63B4 #B4362A #A8B42A
monochromatic
#132C51 #1E4882 #2A63B4 #4781D4 #79A3E0

Accessibility & contrast

On white

5.93
#2A63B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A63B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63B4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B4#FFFFFF#000000##FFFFFF
##2A63B41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a63b4;
/* rgb */ color: rgb(42, 99, 180);
/* oklch */ color: oklch(50.6% 0.142 257.8);
Tailwind
colors: {
  custom: {
    50: '#778ecb',
    500: '#2a63b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b4;
$custom-light: #778ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b4",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 180
  },
  "hsl": {
    "h": 215.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.14167,
    "h": 257.8
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#2A63B4
secondary
#C8A472
accent
#A243E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63B4

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

Preview Lab → · Contrast checker → · Palette generator →

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