#2D62BE#2D62BE

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

Color values

HEX#2D62BE
RGBrgb(45, 98, 190)
HSLhsl(218, 62%, 46%)
HSVhsv(218, 76%, 75%)
CMYKcmyk(76.3%, 48.4%, 0%, 25.5%)
CIE-LABlab(42.78, 15.29, -53.41)
CIE-LCHlch(42.78, 55.56, 285.97°)
OKLaboklab(51.17% -0.0254 -0.1534)
OKLCHoklch(51.17% 0.156 260.6)
XYZxyz(14.7408, 13.0093, 50.4394)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62BE #BE892D
analogous
#2DAABE #2D62BE #402DBE
triadic
#2D62BE #BE2D62 #62BE2D
tetradic
#2D62BE #BE2DAA #BE892D #2DBE40
square
#2D62BE #BE2DAA #BE892D #2DBE40
split-complementary
#2D62BE #BE402D #AABE2D
monochromatic
#162F5B #21488D #2D62BE #5282D6 #84A6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D62BE#FFFFFF#000000##FFFFFF
##2D62BE1.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)
#2E6CC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d62be;
/* rgb */ color: rgb(45, 98, 190);
/* oklch */ color: oklch(51.2% 0.156 260.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ed2',
    500: '#2d62be',
    950: '#000000',
  },
}
SCSS
$custom: #2d62be;
$custom-light: #7b8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62be",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 218.069,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.15553,
    "h": 260.6
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#2D62BE
secondary
#CBAE7C
accent
#AA43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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