#2D62AF#2D62AF

#2D62AF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.1% C 0.135 H 258.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2D62AF
RGBrgb(45, 98, 175)
HSLhsl(216, 59%, 43%)
HSVhsv(216, 74%, 69%)
CMYKcmyk(74.3%, 44%, 0%, 31.4%)
CIE-LABlab(41.82, 9.59, -46.17)
CIE-LCHlch(41.82, 47.16, 281.73°)
OKLaboklab(50.13% -0.028 -0.1321)
OKLCHoklch(50.13% 0.135 258)
XYZxyz(13.1849, 12.3869, 42.2452)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62AF #AF7A2D
analogous
#2DA3AF #2D62AF #392DAF
triadic
#2D62AF #AF2D62 #62AF2D
tetradic
#2D62AF #AF2DA3 #AF7A2D #2DAF39
square
#2D62AF #AF2DA3 #AF7A2D #2DAF39
split-complementary
#2D62AF #AF392D #A3AF2D
monochromatic
#142B4E #20477E #2D62AF #4980D0 #7AA2DD

Accessibility & contrast

On white

6.04
#2D62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62AF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62AF#FFFFFF#000000##FFFFFF
##2D62AF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d62af;
/* rgb */ color: rgb(45, 98, 175);
/* oklch */ color: oklch(50.1% 0.135 258.0);
Tailwind
colors: {
  custom: {
    50: '#778ec7',
    500: '#2d62af',
    950: '#000000',
  },
}
SCSS
$custom: #2d62af;
$custom-light: #778ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62af",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 215.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.13509,
    "h": 258
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#2D62AF
secondary
#C5A373
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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