#2F61C5#2F61C5

#2F61C5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.166 H 262.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F61C5
RGBrgb(47, 97, 197)
HSLhsl(220, 61%, 48%)
HSVhsv(220, 76%, 77%)
CMYKcmyk(76.1%, 50.8%, 0%, 22.7%)
CIE-LABlab(43.04, 18.82, -57.05)
CIE-LCHlch(43.04, 60.07, 288.26°)
OKLaboklab(51.54% -0.0223 -0.1641)
OKLCHoklch(51.54% 0.166 262.3)
XYZxyz(15.5214, 13.1832, 54.5391)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61C5 #C5932F
analogous
#2FACC5 #2F61C5 #482FC5
triadic
#2F61C5 #C52F61 #61C52F
tetradic
#2F61C5 #C52FAC #C5932F #2FC548
square
#2F61C5 #C52FAC #C5932F #2FC548
split-complementary
#2F61C5 #C5482F #ACC52F
monochromatic
#173062 #234994 #2F61C5 #5A84D8 #8BA8E3

Accessibility & contrast

On white

5.77
#2F61C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F61C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61C5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61C5#FFFFFF#000000##FFFFFF
##2F61C51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226DC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f61c5;
/* rgb */ color: rgb(47, 97, 197);
/* oklch */ color: oklch(51.5% 0.166 262.3);
Tailwind
colors: {
  custom: {
    50: '#7d8dd7',
    500: '#2f61c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f61c5;
$custom-light: #7d8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61c5",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 220,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.16564,
    "h": 262.3
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#2F61C5
secondary
#CDB482
accent
#AF43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F61C5

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

Preview Lab → · Contrast checker → · Palette generator →

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