#2F58C2#2F58C2

#2F58C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.173 H 264.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2F58C2
RGBrgb(47, 88, 194)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.8%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.37, 23.54, -59.62)
CIE-LCHlch(40.37, 64.10, 291.55°)
OKLaboklab(49.45% -0.0157 -0.1719)
OKLCHoklch(49.45% 0.173 264.8)
XYZxyz(14.3962, 11.4772, 52.4851)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58C2 #C2992F
analogous
#2FA2C2 #2F58C2 #4F2FC2
triadic
#2F58C2 #C22F58 #58C22F
tetradic
#2F58C2 #C22FA2 #C2992F #2FC24F
square
#2F58C2 #C22FA2 #C2992F #2FC24F
split-complementary
#2F58C2 #C24F2F #A2C22F
monochromatic
#172B5F #234291 #2F58C2 #587BD6 #89A2E2

Accessibility & contrast

On white

6.37
#2F58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2F58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58C2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58C2#FFFFFF#000000##FFFFFF
##2F58C21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f58c2;
/* rgb */ color: rgb(47, 88, 194);
/* oklch */ color: oklch(49.4% 0.173 264.8);
Tailwind
colors: {
  custom: {
    50: '#7d86d5',
    500: '#2f58c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f58c2;
$custom-light: #7d86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58c2",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 223.265,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.17258,
    "h": 264.8
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#2F58C2
secondary
#CCB781
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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