#2A62B3#2A62B3

#2A62B3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.141 H 258.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A62B3
RGBrgb(42, 98, 179)
HSLhsl(215, 62%, 43%)
HSVhsv(215, 77%, 70%)
CMYKcmyk(76.5%, 45.3%, 0%, 29.8%)
CIE-LABlab(41.97, 10.72, -48.29)
CIE-LCHlch(41.97, 49.47, 282.52°)
OKLaboklab(50.29% -0.0293 -0.1384)
OKLCHoklch(50.29% 0.141 258.1)
XYZxyz(13.4562, 12.4807, 44.3389)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62B3 #B37B2A
analogous
#2AA6B3 #2A62B3 #362AB3
triadic
#2A62B3 #B32A62 #62B32A
tetradic
#2A62B3 #B32AA6 #B37B2A #2AB336
square
#2A62B3 #B32AA6 #B37B2A #2AB336
split-complementary
#2A62B3 #B3362A #A6B32A
monochromatic
#132C50 #1E4781 #2A62B3 #4680D4 #78A2DF

Accessibility & contrast

On white

6.01
#2A62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A62B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62B3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62B3#FFFFFF#000000##FFFFFF
##2A62B31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a62b3;
/* rgb */ color: rgb(42, 98, 179);
/* oklch */ color: oklch(50.3% 0.141 258.1);
Tailwind
colors: {
  custom: {
    50: '#778eca',
    500: '#2a62b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a62b3;
$custom-light: #778eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62b3",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 215.474,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.14149,
    "h": 258.1
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#2A62B3
secondary
#C7A472
accent
#A343E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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