#2F61B2#2F61B2

#2F61B2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.140 H 259.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2F61B2
RGBrgb(47, 97, 178)
HSLhsl(217, 58%, 44%)
HSVhsv(217, 74%, 70%)
CMYKcmyk(73.6%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.79, 11.64, -47.98)
CIE-LCHlch(41.79, 49.37, 283.64°)
OKLaboklab(50.18% -0.0251 -0.1375)
OKLCHoklch(50.18% 0.14 259.6)
XYZxyz(13.4800, 12.3666, 43.7874)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B2 #B2802F
analogous
#2FA3B2 #2F61B2 #3F2FB2
triadic
#2F61B2 #B22F61 #61B22F
tetradic
#2F61B2 #B22FA3 #B2802F #2FB23F
square
#2F61B2 #B22FA3 #B2802F #2FB23F
split-complementary
#2F61B2 #B23F2F #A3B22F
monochromatic
#152C51 #224782 #2F61B2 #4E80D0 #7EA3DD

Accessibility & contrast

On white

6.05
#2F61B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2F61B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B2#FFFFFF#000000##FFFFFF
##2F61B21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f61b2;
/* rgb */ color: rgb(47, 97, 178);
/* oklch */ color: oklch(50.2% 0.140 259.6);
Tailwind
colors: {
  custom: {
    50: '#798dc9',
    500: '#2f61b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b2;
$custom-light: #798dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b2",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 217.099,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.13974,
    "h": 259.6
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#2F61B2
secondary
#C6A877
accent
#A646E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61B2

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

Preview Lab → · Contrast checker → · Palette generator →

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