#2F61AF#2F61AF

#2F61AF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.136 H 259.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F61AF
RGBrgb(47, 97, 175)
HSLhsl(217, 58%, 44%)
HSVhsv(217, 73%, 69%)
CMYKcmyk(73.1%, 44.6%, 0%, 31.4%)
CIE-LABlab(41.61, 10.51, -46.52)
CIE-LCHlch(41.61, 47.69, 282.73°)
OKLaboklab(49.98% -0.0257 -0.1331)
OKLCHoklch(49.98% 0.136 259.1)
XYZxyz(13.1820, 12.2474, 42.2184)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61AF #AF7D2F
analogous
#2FA1AF #2F61AF #3D2FAF
triadic
#2F61AF #AF2F61 #61AF2F
tetradic
#2F61AF #AF2FA1 #AF7D2F #2FAF3D
square
#2F61AF #AF2FA1 #AF7D2F #2FAF3D
split-complementary
#2F61AF #AF3D2F #A1AF2F
monochromatic
#152C4F #22467F #2F61AF #4C7FCF #7CA2DC

Accessibility & contrast

On white

6.09
#2F61AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F61AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61AF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61AF#FFFFFF#000000##FFFFFF
##2F61AF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B2
Deuteranopia (green-blind)
#215DAD
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f61af;
/* rgb */ color: rgb(47, 97, 175);
/* oklch */ color: oklch(50.0% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#788dc7',
    500: '#2f61af',
    950: '#000000',
  },
}
SCSS
$custom: #2f61af;
$custom-light: #788dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61af",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 216.563,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49978,
    "c": 0.13561,
    "h": 259.1
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#2F61AF
secondary
#C4A675
accent
#A547E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61AF

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

Preview Lab → · Contrast checker → · Palette generator →

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