#2A62B8#2A62B8

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

Color values

HEX#2A62B8
RGBrgb(42, 98, 184)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(77.2%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.29, 12.64, -50.71)
CIE-LCHlch(42.29, 52.26, 283.99°)
OKLaboklab(50.64% -0.0284 -0.1455)
OKLCHoklch(50.64% 0.148 259)
XYZxyz(13.9711, 12.6867, 47.0506)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62B8 #B8802A
analogous
#2AA9B8 #2A62B8 #392AB8
triadic
#2A62B8 #B82A62 #62B82A
tetradic
#2A62B8 #B82AA9 #B8802A #2AB839
square
#2A62B8 #B82AA9 #B8802A #2AB839
split-complementary
#2A62B8 #B8392A #A9B82A
monochromatic
#132D54 #1F4786 #2A62B8 #4A81D6 #7BA3E1

Accessibility & contrast

On white

5.94
#2A62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A62B8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62B8#FFFFFF#000000##FFFFFF
##2A62B81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#0E5EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a62b8;
/* rgb */ color: rgb(42, 98, 184);
/* oklch */ color: oklch(50.6% 0.148 259.0);
Tailwind
colors: {
  custom: {
    50: '#788ece',
    500: '#2a62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a62b8;
$custom-light: #788ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62b8",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 216.338,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.14828,
    "h": 259
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#2A62B8
secondary
#C9A875
accent
#A542E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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