#2F61D2#2F61D2

#2F61D2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.183 H 263.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F61D2
RGBrgb(47, 97, 210)
HSLhsl(222, 64%, 50%)
HSVhsv(222, 78%, 82%)
CMYKcmyk(77.6%, 53.8%, 0%, 17.6%)
CIE-LABlab(43.95, 23.72, -63.05)
CIE-LCHlch(43.95, 67.36, 290.62°)
OKLaboklab(52.52% -0.0209 -0.1818)
OKLCHoklch(52.52% 0.183 263.4)
XYZxyz(17.0757, 13.8049, 62.7249)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61D2 #D2A02F
analogous
#2FB3D2 #2F61D2 #4E2FD2
triadic
#2F61D2 #D22F61 #61D22F
tetradic
#2F61D2 #D22FB3 #D2A02F #2FD24E
square
#2F61D2 #D22FB3 #D2A02F #2FD24E
split-complementary
#2F61D2 #D24E2F #B3D22F
monochromatic
#18336F #234AA1 #2F61D2 #6187DD #94ADE8

Accessibility & contrast

On white

5.58
#2F61D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2F61D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61D2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61D2#FFFFFF#000000##FFFFFF
##2F61D21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f61d2;
/* rgb */ color: rgb(47, 97, 210);
/* oklch */ color: oklch(52.5% 0.183 263.4);
Tailwind
colors: {
  custom: {
    50: '#808de1',
    500: '#2f61d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f61d2;
$custom-light: #808de1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61d2",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 221.595,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.18299,
    "h": 263.4
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#2F61D2
secondary
#D3BC8A
accent
#B440E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F61D2

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

Preview Lab → · Contrast checker → · Palette generator →

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