#2F58C4#2F58C4

#2F58C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.175 H 264.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2F58C4
RGBrgb(47, 88, 196)
HSLhsl(223, 61%, 48%)
HSVhsv(223, 76%, 77%)
CMYKcmyk(76%, 55.1%, 0%, 23.1%)
CIE-LABlab(40.52, 24.29, -60.54)
CIE-LCHlch(40.52, 65.23, 291.86°)
OKLaboklab(49.6% -0.0156 -0.1746)
OKLCHoklch(49.6% 0.175 264.9)
XYZxyz(14.6223, 11.5677, 53.6760)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58C4 #C49B2F
analogous
#2FA2C4 #2F58C4 #502FC4
triadic
#2F58C4 #C42F58 #58C42F
tetradic
#2F58C4 #C42FA2 #C49B2F #2FC450
square
#2F58C4 #C42FA2 #C49B2F #2FC450
split-complementary
#2F58C4 #C4502F #A2C42F
monochromatic
#172C61 #234293 #2F58C4 #597CD7 #8AA3E3

Accessibility & contrast

On white

6.34
#2F58C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2F58C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58C4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58C4#FFFFFF#000000##FFFFFF
##2F58C41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f58c4;
/* rgb */ color: rgb(47, 88, 196);
/* oklch */ color: oklch(49.6% 0.175 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d86d7',
    500: '#2f58c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f58c4;
$custom-light: #7d86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58c4",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 223.49,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.17527,
    "h": 264.9
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#2F58C4
secondary
#CDB882
accent
#B843E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F58C4

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

Preview Lab → · Contrast checker → · Palette generator →

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