#2B62B7#2B62B7

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

Color values

HEX#2B62B7
RGBrgb(43, 98, 183)
HSLhsl(216, 62%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(76.5%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.26, 12.38, -50.17)
CIE-LCHlch(42.26, 51.68, 283.86°)
OKLaboklab(50.6% -0.0279 -0.1439)
OKLCHoklch(50.6% 0.147 259)
XYZxyz(13.9081, 12.6663, 46.5024)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B7 #B7802B
analogous
#2BA8B7 #2B62B7 #3A2BB7
triadic
#2B62B7 #B72B62 #62B72B
tetradic
#2B62B7 #B72BA8 #B7802B #2BB73A
square
#2B62B7 #B72BA8 #B7802B #2BB73A
split-complementary
#2B62B7 #B73A2B #A8B72B
monochromatic
#142D54 #1F4785 #2B62B7 #4B81D5 #7CA3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B62B7#FFFFFF#000000##FFFFFF
##2B62B71.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b62b7;
/* rgb */ color: rgb(43, 98, 183);
/* oklch */ color: oklch(50.6% 0.147 259.0);
Tailwind
colors: {
  custom: {
    50: '#788ecd',
    500: '#2b62b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b7;
$custom-light: #788ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b7",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 216.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.14663,
    "h": 259
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#2B62B7
secondary
#C9A875
accent
#A543E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B7

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

Preview Lab → · Contrast checker → · Palette generator →

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