#2F61AB#2F61AB

#2F61AB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.7% C 0.130 H 258.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2F61AB
RGBrgb(47, 97, 171)
HSLhsl(216, 57%, 43%)
HSVhsv(216, 73%, 67%)
CMYKcmyk(72.5%, 43.3%, 0%, 32.9%)
CIE-LABlab(41.36, 9.00, -44.55)
CIE-LCHlch(41.36, 45.45, 281.42°)
OKLaboklab(49.71% -0.0265 -0.1274)
OKLCHoklch(49.71% 0.13 258.3)
XYZxyz(12.7950, 12.0926, 40.1800)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61AB #AB792F
analogous
#2F9FAB #2F61AB #3B2FAB
triadic
#2F61AB #AB2F61 #61AB2F
tetradic
#2F61AB #AB2F9F #AB792F #2FAB3B
square
#2F61AB #AB2F9F #AB792F #2FAB3B
split-complementary
#2F61AB #AB3B2F #9FAB2F
monochromatic
#152B4B #22467B #2F61AB #4A7FCD #7AA1DA

Accessibility & contrast

On white

6.14
#2F61AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2F61AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61AB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61AB#FFFFFF#000000##FFFFFF
##2F61AB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f61ab;
/* rgb */ color: rgb(47, 97, 171);
/* oklch */ color: oklch(49.7% 0.130 258.3);
Tailwind
colors: {
  custom: {
    50: '#778dc4',
    500: '#2f61ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f61ab;
$custom-light: #778dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61ab",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 171
  },
  "hsl": {
    "h": 215.806,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.13011,
    "h": 258.3
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#2F61AB
secondary
#C3A373
accent
#A348E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61AB

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

Preview Lab → · Contrast checker → · Palette generator →

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