#2F61CC#2F61CC

#2F61CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.175 H 262.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F61CC
RGBrgb(47, 97, 204)
HSLhsl(221, 63%, 49%)
HSVhsv(221, 77%, 80%)
CMYKcmyk(77%, 52.5%, 0%, 20%)
CIE-LABlab(43.52, 21.46, -60.30)
CIE-LCHlch(43.52, 64.00, 289.59°)
OKLaboklab(52.06% -0.0215 -0.1737)
OKLCHoklch(52.06% 0.175 262.9)
XYZxyz(16.3422, 13.5115, 58.8617)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61CC #CC9A2F
analogous
#2FB0CC #2F61CC #4C2FCC
triadic
#2F61CC #CC2F61 #61CC2F
tetradic
#2F61CC #CC2FB0 #CC9A2F #2FCC4C
square
#2F61CC #CC2FB0 #CC9A2F #2FCC4C
split-complementary
#2F61CC #CC4C2F #B0CC2F
monochromatic
#183269 #24499A #2F61CC #5E86DA #90ABE5

Accessibility & contrast

On white

5.67
#2F61CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F61CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61CC#FFFFFF#000000##FFFFFF
##2F61CC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f61cc;
/* rgb */ color: rgb(47, 97, 204);
/* oklch */ color: oklch(52.1% 0.175 262.9);
Tailwind
colors: {
  custom: {
    50: '#7e8ddc',
    500: '#2f61cc',
    950: '#000000',
  },
}
SCSS
$custom: #2f61cc;
$custom-light: #7e8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61cc",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 220.892,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.17503,
    "h": 262.9
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#2F61CC
secondary
#D0B987
accent
#B242E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F61CC

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

Preview Lab → · Contrast checker → · Palette generator →

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