#2F61AA#2F61AA

#2F61AA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.6% C 0.129 H 258.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2F61AA
RGBrgb(47, 97, 170)
HSLhsl(216, 57%, 43%)
HSVhsv(216, 72%, 67%)
CMYKcmyk(72.4%, 42.9%, 0%, 33.3%)
CIE-LABlab(41.30, 8.62, -44.06)
CIE-LCHlch(41.30, 44.89, 281.07°)
OKLaboklab(49.65% -0.0267 -0.1259)
OKLCHoklch(49.65% 0.129 258)
XYZxyz(12.7000, 12.0546, 39.6799)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61AA #AA782F
analogous
#2F9EAA #2F61AA #3B2FAA
triadic
#2F61AA #AA2F61 #61AA2F
tetradic
#2F61AA #AA2F9E #AA782F #2FAA3B
square
#2F61AA #AA2F9E #AA782F #2FAA3B
split-complementary
#2F61AA #AA3B2F #9EAA2F
monochromatic
#142A4A #22467A #2F61AA #497FCD #79A1DA

Accessibility & contrast

On white

6.16
#2F61AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F61AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61AA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61AA#FFFFFF#000000##FFFFFF
##2F61AA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f61aa;
/* rgb */ color: rgb(47, 97, 170);
/* oklch */ color: oklch(49.6% 0.129 258.0);
Tailwind
colors: {
  custom: {
    50: '#778dc4',
    500: '#2f61aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f61aa;
$custom-light: #778dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61aa",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 215.61,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.12872,
    "h": 258
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#2F61AA
secondary
#C2A272
accent
#A248E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F61AA

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

Preview Lab → · Contrast checker → · Palette generator →

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