#2F62A9#2F62A9

#2F62A9 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.126 H 257.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2F62A9
RGBrgb(47, 98, 169)
HSLhsl(215, 56%, 42%)
HSVhsv(215, 72%, 66%)
CMYKcmyk(72.2%, 42%, 0%, 33.7%)
CIE-LABlab(41.54, 7.61, -43.09)
CIE-LCHlch(41.54, 43.76, 280.01°)
OKLaboklab(49.81% -0.0279 -0.1231)
OKLCHoklch(49.81% 0.126 257.2)
XYZxyz(12.6988, 12.2029, 39.2146)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62A9 #A9762F
analogous
#2F9FA9 #2F62A9 #392FA9
triadic
#2F62A9 #A92F62 #62A92F
tetradic
#2F62A9 #A92F9F #A9762F #2FA939
square
#2F62A9 #A92F9F #A9762F #2FA939
split-complementary
#2F62A9 #A9392F #9FA92F
monochromatic
#142A49 #224679 #2F62A9 #4980CC #79A1DA

Accessibility & contrast

On white

6.10
#2F62A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2F62A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62A9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62A9#FFFFFF#000000##FFFFFF
##2F62A91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f62a9;
/* rgb */ color: rgb(47, 98, 169);
/* oklch */ color: oklch(49.8% 0.126 257.2);
Tailwind
colors: {
  custom: {
    50: '#778ec3',
    500: '#2f62a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f62a9;
$custom-light: #778ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62a9",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 169
  },
  "hsl": {
    "h": 214.918,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.12619,
    "h": 257.2
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#2F62A9
secondary
#C2A072
accent
#A048E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F62A9

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

Preview Lab → · Contrast checker → · Palette generator →

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