#2F61BD#2F61BD

#2F61BD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.155 H 261.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F61BD
RGBrgb(47, 97, 189)
HSLhsl(219, 60%, 46%)
HSVhsv(219, 75%, 74%)
CMYKcmyk(75.1%, 48.7%, 0%, 25.9%)
CIE-LABlab(42.50, 15.80, -53.27)
CIE-LCHlch(42.50, 55.57, 286.52°)
OKLaboklab(50.95% -0.0234 -0.153)
OKLCHoklch(50.95% 0.155 261.3)
XYZxyz(14.6290, 12.8262, 49.8390)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61BD #BD8B2F
analogous
#2FA8BD #2F61BD #442FBD
triadic
#2F61BD #BD2F61 #61BD2F
tetradic
#2F61BD #BD2FA8 #BD8B2F #2FBD44
square
#2F61BD #BD2FA8 #BD8B2F #2FBD44
split-complementary
#2F61BD #BD442F #A8BD2F
monochromatic
#172F5B #23488C #2F61BD #5582D5 #86A6E1

Accessibility & contrast

On white

5.89
#2F61BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F61BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61BD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61BD#FFFFFF#000000##FFFFFF
##2F61BD1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f61bd;
/* rgb */ color: rgb(47, 97, 189);
/* oklch */ color: oklch(51.0% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#7b8dd1',
    500: '#2f61bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f61bd;
$custom-light: #7b8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61bd",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 218.873,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.15479,
    "h": 261.3
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#2F61BD
secondary
#CAAF7E
accent
#AB44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F61BD

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

Preview Lab → · Contrast checker → · Palette generator →

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