#2A62B7#2A62B7

#2A62B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.147 H 258.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2A62B7
RGBrgb(42, 98, 183)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(77%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.22, 12.25, -50.23)
CIE-LCHlch(42.22, 51.70, 283.71°)
OKLaboklab(50.57% -0.0286 -0.1441)
OKLCHoklch(50.57% 0.147 258.8)
XYZxyz(13.8666, 12.6449, 46.5005)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62B7 #B77F2A
analogous
#2AA9B7 #2A62B7 #382AB7
triadic
#2A62B7 #B72A62 #62B72A
tetradic
#2A62B7 #B72AA9 #B77F2A #2AB738
square
#2A62B7 #B72AA9 #B77F2A #2AB738
split-complementary
#2A62B7 #B7382A #A9B72A
monochromatic
#132D53 #1F4785 #2A62B7 #4981D5 #7BA3E1

Accessibility & contrast

On white

5.95
#2A62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A62B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62B7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62B7#FFFFFF#000000##FFFFFF
##2A62B71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#115EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a62b7;
/* rgb */ color: rgb(42, 98, 183);
/* oklch */ color: oklch(50.6% 0.147 258.8);
Tailwind
colors: {
  custom: {
    50: '#788ecd',
    500: '#2a62b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a62b7;
$custom-light: #788ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62b7",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 216.17,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.14692,
    "h": 258.8
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#2A62B7
secondary
#C9A774
accent
#A542E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A62B7

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

Preview Lab → · Contrast checker → · Palette generator →

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