#2F61BE#2F61BE

#2F61BE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.156 H 261.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F61BE
RGBrgb(47, 97, 190)
HSLhsl(219, 60%, 46%)
HSVhsv(219, 75%, 75%)
CMYKcmyk(75.3%, 48.9%, 0%, 25.5%)
CIE-LABlab(42.57, 16.18, -53.75)
CIE-LCHlch(42.57, 56.13, 286.75°)
OKLaboklab(51.03% -0.0232 -0.1544)
OKLCHoklch(51.03% 0.156 261.4)
XYZxyz(14.7379, 12.8698, 50.4126)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61BE #BE8C2F
analogous
#2FA9BE #2F61BE #452FBE
triadic
#2F61BE #BE2F61 #61BE2F
tetradic
#2F61BE #BE2FA9 #BE8C2F #2FBE45
square
#2F61BE #BE2FA9 #BE8C2F #2FBE45
split-complementary
#2F61BE #BE452F #A9BE2F
monochromatic
#172F5C #23488D #2F61BE #5582D5 #86A6E1

Accessibility & contrast

On white

5.88
#2F61BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F61BE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61BE#FFFFFF#000000##FFFFFF
##2F61BE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f61be;
/* rgb */ color: rgb(47, 97, 190);
/* oklch */ color: oklch(51.0% 0.156 261.4);
Tailwind
colors: {
  custom: {
    50: '#7b8dd2',
    500: '#2f61be',
    950: '#000000',
  },
}
SCSS
$custom: #2f61be;
$custom-light: #7b8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61be",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 219.021,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.15616,
    "h": 261.4
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#2F61BE
secondary
#CBB07E
accent
#AC44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F61BE

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

Preview Lab → · Contrast checker → · Palette generator →

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