#2B62BF#2B62BF

#2B62BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.157 H 260.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2B62BF
RGBrgb(43, 98, 191)
HSLhsl(218, 63%, 46%)
HSVhsv(218, 77%, 75%)
CMYKcmyk(77.5%, 48.7%, 0%, 25.1%)
CIE-LABlab(42.78, 15.43, -54.00)
CIE-LCHlch(42.78, 56.16, 285.95°)
OKLaboklab(51.17% -0.0266 -0.1552)
OKLCHoklch(51.17% 0.157 260.3)
XYZxyz(14.7645, 13.0088, 51.0129)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62BF #BF882B
analogous
#2BACBF #2B62BF #3E2BBF
triadic
#2B62BF #BF2B62 #62BF2B
tetradic
#2B62BF #BF2BAC #BF882B #2BBF3E
square
#2B62BF #BF2BAC #BF882B #2BBF3E
split-complementary
#2B62BF #BF3E2B #ACBF2B
monochromatic
#152F5B #20488D #2B62BF #5082D8 #82A6E3

Accessibility & contrast

On white

5.83
#2B62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2B62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62BF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62BF#FFFFFF#000000##FFFFFF
##2B62BF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b62bf;
/* rgb */ color: rgb(43, 98, 191);
/* oklch */ color: oklch(51.2% 0.157 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ed3',
    500: '#2b62bf',
    950: '#000000',
  },
}
SCSS
$custom: #2b62bf;
$custom-light: #7a8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62bf",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 217.703,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.15746,
    "h": 260.3
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#2B62BF
secondary
#CCAD7A
accent
#A942E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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