#2F61AC#2F61AC

#2F61AC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.8% C 0.131 H 258.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2F61AC
RGBrgb(47, 97, 172)
HSLhsl(216, 57%, 43%)
HSVhsv(216, 73%, 67%)
CMYKcmyk(72.7%, 43.6%, 0%, 32.5%)
CIE-LABlab(41.42, 9.38, -45.05)
CIE-LCHlch(41.42, 46.01, 281.76°)
OKLaboklab(49.78% -0.0263 -0.1288)
OKLCHoklch(49.78% 0.131 258.5)
XYZxyz(12.8907, 12.1309, 40.6839)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61AC #AC7A2F
analogous
#2F9FAC #2F61AC #3B2FAC
triadic
#2F61AC #AC2F61 #61AC2F
tetradic
#2F61AC #AC2F9F #AC7A2F #2FAC3B
square
#2F61AC #AC2F9F #AC7A2F #2FAC3B
split-complementary
#2F61AC #AC3B2F #9FAC2F
monochromatic
#152B4C #22467C #2F61AC #4B7FCE #7BA1DB

Accessibility & contrast

On white

6.13
#2F61AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2F61AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61AC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61AC#FFFFFF#000000##FFFFFF
##2F61AC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f61ac;
/* rgb */ color: rgb(47, 97, 172);
/* oklch */ color: oklch(49.8% 0.131 258.5);
Tailwind
colors: {
  custom: {
    50: '#788dc5',
    500: '#2f61ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f61ac;
$custom-light: #788dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61ac",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 216,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.13148,
    "h": 258.5
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#2F61AC
secondary
#C3A374
accent
#A347E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61AC

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

Preview Lab → · Contrast checker → · Palette generator →

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