#2F73D3#2F73D3

#2F73D3 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.163 H 257.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F73D3
RGBrgb(47, 115, 211)
HSLhsl(215, 65%, 51%)
HSVhsv(215, 78%, 83%)
CMYKcmyk(77.7%, 45.5%, 0%, 17.3%)
CIE-LABlab(48.97, 12.62, -55.52)
CIE-LCHlch(48.97, 56.94, 282.80°)
OKLaboklab(56.38% -0.0344 -0.1593)
OKLCHoklch(56.38% 0.163 257.8)
XYZxyz(19.0566, 17.5667, 64.0017)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F73D3 #D38F2F
analogous
#2FC5D3 #2F73D3 #3D2FD3
triadic
#2F73D3 #D32F73 #73D32F
tetradic
#2F73D3 #D32FC5 #D38F2F #2FD33D
square
#2F73D3 #D32FC5 #D38F2F #2FD33D
split-complementary
#2F73D3 #D33D2F #C5D32F
monochromatic
#183C70 #2257A2 #2F73D3 #6295DE #94B7E8

Accessibility & contrast

On white

4.65
#2F73D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2F73D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F73D3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F73D3#FFFFFF#000000##FFFFFF
##2F73D31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f73d3;
/* rgb */ color: rgb(47, 115, 211);
/* oklch */ color: oklch(56.4% 0.163 257.8);
Tailwind
colors: {
  custom: {
    50: '#7f9ae1',
    500: '#2f73d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f73d3;
$custom-light: #7f9ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f73d3",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 211
  },
  "hsl": {
    "h": 215.122,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.16299,
    "h": 257.8
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#2F73D3
secondary
#D3B58A
accent
#A240E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2F73D3

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

Preview Lab → · Contrast checker → · Palette generator →

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