#2F58D3#2F58D3

#2F58D3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.195 H 265.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F58D3
RGBrgb(47, 88, 211)
HSLhsl(225, 65%, 51%)
HSVhsv(225, 78%, 83%)
CMYKcmyk(77.7%, 58.3%, 0%, 17.3%)
CIE-LABlab(41.67, 29.89, -67.34)
CIE-LCHlch(41.67, 73.68, 293.93°)
OKLaboklab(50.82% -0.0148 -0.1945)
OKLCHoklch(50.82% 0.195 265.6)
XYZxyz(16.4157, 12.2850, 63.1215)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58D3 #D3AA2F
analogous
#2FAAD3 #2F58D3 #582FD3
triadic
#2F58D3 #D32F58 #58D32F
tetradic
#2F58D3 #D32FAA #D3AA2F #2FD358
square
#2F58D3 #D32FAA #D3AA2F #2FD358
split-complementary
#2F58D3 #D3582F #AAD32F
monochromatic
#182E70 #2242A2 #2F58D3 #6281DE #94A9E8

Accessibility & contrast

On white

6.07
#2F58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58D3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58D3#FFFFFF#000000##FFFFFF
##2F58D31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f58d3;
/* rgb */ color: rgb(47, 88, 211);
/* oklch */ color: oklch(50.8% 0.195 265.6);
Tailwind
colors: {
  custom: {
    50: '#8186e1',
    500: '#2f58d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f58d3;
$custom-light: #8186e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58d3",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 225,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.19511,
    "h": 265.6
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#2F58D3
secondary
#D3C18A
accent
#BE40E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2F58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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