#2F62A4#2F62A4

#2F62A4 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.5% C 0.119 H 255.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2F62A4
RGBrgb(47, 98, 164)
HSLhsl(214, 55%, 41%)
HSVhsv(214, 71%, 64%)
CMYKcmyk(71.3%, 40.2%, 0%, 35.7%)
CIE-LABlab(41.25, 5.73, -40.60)
CIE-LCHlch(41.25, 41.00, 278.04°)
OKLaboklab(49.49% -0.029 -0.1158)
OKLCHoklch(49.49% 0.119 255.9)
XYZxyz(12.2384, 12.0187, 36.7896)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62A4 #A4712F
analogous
#2F9DA4 #2F62A4 #372FA4
triadic
#2F62A4 #A42F62 #62A42F
tetradic
#2F62A4 #A42F9D #A4712F #2FA437
square
#2F62A4 #A42F9D #A4712F #2FA437
split-complementary
#2F62A4 #A4372F #9DA42F
monochromatic
#142945 #214674 #2F62A4 #4680CA #76A0D8

Accessibility & contrast

On white

6.17
#2F62A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2F62A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62A4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62A4#FFFFFF#000000##FFFFFF
##2F62A41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#00717B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f62a4;
/* rgb */ color: rgb(47, 98, 164);
/* oklch */ color: oklch(49.5% 0.119 255.9);
Tailwind
colors: {
  custom: {
    50: '#768ebf',
    500: '#2f62a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f62a4;
$custom-light: #768ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62a4",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 164
  },
  "hsl": {
    "h": 213.846,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.11933,
    "h": 255.9
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#2F62A4
secondary
#C09D6F
accent
#9D49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F62A4

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

Preview Lab → · Contrast checker → · Palette generator →

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