#2F62AF#2F62AF

#2F62AF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.134 H 258.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2F62AF
RGBrgb(47, 98, 175)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(73.1%, 44%, 0%, 31.4%)
CIE-LABlab(41.90, 9.86, -46.05)
CIE-LCHlch(41.90, 47.10, 282.09°)
OKLaboklab(50.2% -0.0266 -0.1318)
OKLCHoklch(50.2% 0.134 258.6)
XYZxyz(13.2750, 12.4334, 42.2494)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62AF #AF7C2F
analogous
#2FA2AF #2F62AF #3C2FAF
triadic
#2F62AF #AF2F62 #62AF2F
tetradic
#2F62AF #AF2FA2 #AF7C2F #2FAF3C
square
#2F62AF #AF2FA2 #AF7C2F #2FAF3C
split-complementary
#2F62AF #AF3C2F #A2AF2F
monochromatic
#152C4F #22477F #2F62AF #4C80CF #7CA3DC

Accessibility & contrast

On white

6.02
#2F62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62AF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62AF#FFFFFF#000000##FFFFFF
##2F62AF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f62af;
/* rgb */ color: rgb(47, 98, 175);
/* oklch */ color: oklch(50.2% 0.134 258.6);
Tailwind
colors: {
  custom: {
    50: '#788ec7',
    500: '#2f62af',
    950: '#000000',
  },
}
SCSS
$custom: #2f62af;
$custom-light: #788ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62af",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 216.094,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.13443,
    "h": 258.6
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#2F62AF
secondary
#C4A575
accent
#A447E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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