#2F62AA#2F62AA

#2F62AA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.128 H 257.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F62AA
RGBrgb(47, 98, 170)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 72%, 67%)
CMYKcmyk(72.4%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.60, 7.98, -43.59)
CIE-LCHlch(41.60, 44.32, 280.38°)
OKLaboklab(49.87% -0.0276 -0.1245)
OKLCHoklch(49.87% 0.128 257.5)
XYZxyz(12.7930, 12.2406, 39.7109)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62AA #AA772F
analogous
#2F9FAA #2F62AA #3A2FAA
triadic
#2F62AA #AA2F62 #62AA2F
tetradic
#2F62AA #AA2F9F #AA772F #2FAA3A
square
#2F62AA #AA2F9F #AA772F #2FAA3A
split-complementary
#2F62AA #AA3A2F #9FAA2F
monochromatic
#142B4A #22467A #2F62AA #4980CD #79A1DA

Accessibility & contrast

On white

6.09
#2F62AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F62AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62AA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62AA#FFFFFF#000000##FFFFFF
##2F62AA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f62aa;
/* rgb */ color: rgb(47, 98, 170);
/* oklch */ color: oklch(49.9% 0.128 257.5);
Tailwind
colors: {
  custom: {
    50: '#778ec4',
    500: '#2f62aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f62aa;
$custom-light: #778ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62aa",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 215.122,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.12756,
    "h": 257.5
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#2F62AA
secondary
#C2A172
accent
#A148E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F62AA

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

Preview Lab → · Contrast checker → · Palette generator →

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