#2F58DC#2F58DC

#2F58DC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.6% C 0.207 H 265.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2F58DC
RGBrgb(47, 88, 220)
HSLhsl(226, 71%, 52%)
HSVhsv(226, 79%, 86%)
CMYKcmyk(78.6%, 60%, 0%, 13.7%)
CIE-LABlab(42.38, 33.21, -71.32)
CIE-LCHlch(42.38, 78.67, 294.97°)
OKLaboklab(51.58% -0.0146 -0.2062)
OKLCHoklch(51.58% 0.207 265.9)
XYZxyz(17.5757, 12.7490, 69.2308)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58DC #DCB32F
analogous
#2FAFDC #2F58DC #5C2FDC
triadic
#2F58DC #DC2F58 #58DC2F
tetradic
#2F58DC #DC2FAF #DCB32F #2FDC5C
square
#2F58DC #DC2FAF #DCB32F #2FDC5C
split-complementary
#2F58DC #DC5C2F #AFDC2F
monochromatic
#152D7C #1E40B0 #2F58DC #6382E5 #98ACEE

Accessibility & contrast

On white

5.92
#2F58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58DC#FFFFFF#000000##FFFFFF
##2F58DC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f58dc;
/* rgb */ color: rgb(47, 88, 220);
/* oklch */ color: oklch(51.6% 0.207 265.9);
Tailwind
colors: {
  custom: {
    50: '#8386e8',
    500: '#2f58dc',
    950: '#000000',
  },
}
SCSS
$custom: #2f58dc;
$custom-light: #8386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58dc",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 225.78,
    "s": 71.193,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.20674,
    "h": 265.9
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#2F58DC
secondary
#D9C78E
accent
#C33AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2F58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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