#2F62A1#2F62A1

#2F62A1 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.115 H 255.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2F62A1
RGBrgb(47, 98, 161)
HSLhsl(213, 55%, 41%)
HSVhsv(213, 71%, 63%)
CMYKcmyk(70.8%, 39.1%, 0%, 36.9%)
CIE-LABlab(41.08, 4.61, -39.09)
CIE-LCHlch(41.08, 39.36, 276.73°)
OKLaboklab(49.3% -0.0297 -0.1113)
OKLCHoklch(49.3% 0.115 255.1)
XYZxyz(11.9706, 11.9116, 35.3796)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62A1 #A16E2F
analogous
#2F9BA1 #2F62A1 #352FA1
triadic
#2F62A1 #A12F62 #62A12F
tetradic
#2F62A1 #A12F9B #A16E2F #2FA135
square
#2F62A1 #A12F9B #A16E2F #2FA135
split-complementary
#2F62A1 #A1352F #9BA12F
monochromatic
#132842 #214572 #2F62A1 #4580C9 #74A0D6

Accessibility & contrast

On white

6.21
#2F62A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2F62A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62A1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62A1#FFFFFF#000000##FFFFFF
##2F62A11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A4
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#007179
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f62a1;
/* rgb */ color: rgb(47, 98, 161);
/* oklch */ color: oklch(49.3% 0.115 255.1);
Tailwind
colors: {
  custom: {
    50: '#758ebd',
    500: '#2f62a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f62a1;
$custom-light: #758ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62a1",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 161
  },
  "hsl": {
    "h": 213.158,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.11523,
    "h": 255.1
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

primary
#2F62A1
secondary
#BE9A6E
accent
#9C4ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F62A1

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

Preview Lab → · Contrast checker → · Palette generator →

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