#2F62AE#2F62AE

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

Color values

HEX#2F62AE
RGBrgb(47, 98, 174)
HSLhsl(216, 57%, 43%)
HSVhsv(216, 73%, 68%)
CMYKcmyk(73%, 43.7%, 0%, 31.8%)
CIE-LABlab(41.84, 9.49, -45.56)
CIE-LCHlch(41.84, 46.54, 281.76°)
OKLaboklab(50.14% -0.0268 -0.1303)
OKLCHoklch(50.14% 0.133 258.4)
XYZxyz(13.1772, 12.3943, 41.7341)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62AE #AE7B2F
analogous
#2FA1AE #2F62AE #3C2FAE
triadic
#2F62AE #AE2F62 #62AE2F
tetradic
#2F62AE #AE2FA1 #AE7B2F #2FAE3C
square
#2F62AE #AE2FA1 #AE7B2F #2FAE3C
split-complementary
#2F62AE #AE3C2F #A1AE2F
monochromatic
#152C4E #22477E #2F62AE #4C80CF #7CA2DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F62AE#FFFFFF#000000##FFFFFF
##2F62AE1.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)
#3D69B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f62ae;
/* rgb */ color: rgb(47, 98, 174);
/* oklch */ color: oklch(50.1% 0.133 258.4);
Tailwind
colors: {
  custom: {
    50: '#788ec7',
    500: '#2f62ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f62ae;
$custom-light: #788ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62ae",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 215.906,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.13306,
    "h": 258.4
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#2F62AE
secondary
#C4A475
accent
#A347E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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