#2F58E2#2F58E2

#2F58E2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.1% C 0.214 H 266.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2F58E2
RGBrgb(47, 88, 226)
HSLhsl(226, 76%, 54%)
HSVhsv(226, 79%, 89%)
CMYKcmyk(79.2%, 61.1%, 0%, 11.4%)
CIE-LABlab(42.87, 35.40, -73.93)
CIE-LCHlch(42.87, 81.97, 295.59°)
OKLaboklab(52.1% -0.0146 -0.2139)
OKLCHoklch(52.1% 0.214 266.1)
XYZxyz(18.3847, 13.0726, 73.4911)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58E2 #E2B92F
analogous
#2FB1E2 #2F58E2 #5F2FE2
triadic
#2F58E2 #E22F58 #58E22F
tetradic
#2F58E2 #E22FB1 #E2B92F #2FE25F
square
#2F58E2 #E22FB1 #E2B92F #2FE25F
split-complementary
#2F58E2 #E25F2F #B1E22F
monochromatic
#122C84 #1A3FBA #2F58E2 #6583E9 #9AAEF1

Accessibility & contrast

On white

5.81
#2F58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F58E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58E2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58E2#FFFFFF#000000##FFFFFF
##2F58E21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f58e2;
/* rgb */ color: rgb(47, 88, 226);
/* oklch */ color: oklch(52.1% 0.214 266.1);
Tailwind
colors: {
  custom: {
    50: '#8486ec',
    500: '#2f58e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f58e2;
$custom-light: #8486ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58e2",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 226.257,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.21438,
    "h": 266.1
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#2F58E2
secondary
#DDCB90
accent
#C736F2
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2F58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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