#2F58C1#2F58C1

#2F58C1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.171 H 264.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2F58C1
RGBrgb(47, 88, 193)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.6%, 54.4%, 0%, 24.3%)
CIE-LABlab(40.30, 23.16, -59.16)
CIE-LCHlch(40.30, 63.53, 291.38°)
OKLaboklab(49.37% -0.0158 -0.1705)
OKLCHoklch(49.37% 0.171 264.7)
XYZxyz(14.2842, 11.4324, 51.8956)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58C1 #C1982F
analogous
#2FA1C1 #2F58C1 #4F2FC1
triadic
#2F58C1 #C12F58 #58C12F
tetradic
#2F58C1 #C12FA1 #C1982F #2FC14F
square
#2F58C1 #C12FA1 #C1982F #2FC14F
split-complementary
#2F58C1 #C14F2F #A1C12F
monochromatic
#172B5F #234290 #2F58C1 #577BD6 #88A2E2

Accessibility & contrast

On white

6.39
#2F58C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2F58C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58C1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58C1#FFFFFF#000000##FFFFFF
##2F58C11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f58c1;
/* rgb */ color: rgb(47, 88, 193);
/* oklch */ color: oklch(49.4% 0.171 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c86d4',
    500: '#2f58c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f58c1;
$custom-light: #7c86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58c1",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 223.151,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.17123,
    "h": 264.7
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F58C1

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

Preview Lab → · Contrast checker → · Palette generator →

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