#2F58C0#2F58C0

#2F58C0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.170 H 264.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2F58C0
RGBrgb(47, 88, 192)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.5%, 54.2%, 0%, 24.7%)
CIE-LABlab(40.23, 22.79, -58.69)
CIE-LCHlch(40.23, 62.96, 291.22°)
OKLaboklab(49.29% -0.0159 -0.1691)
OKLCHoklch(49.29% 0.17 264.6)
XYZxyz(14.1731, 11.3880, 51.3101)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58C0 #C0972F
analogous
#2FA1C0 #2F58C0 #4E2FC0
triadic
#2F58C0 #C02F58 #58C02F
tetradic
#2F58C0 #C02FA1 #C0972F #2FC04E
square
#2F58C0 #C02FA1 #C0972F #2FC04E
split-complementary
#2F58C0 #C04E2F #A1C02F
monochromatic
#172B5E #23418F #2F58C0 #567AD6 #88A1E2

Accessibility & contrast

On white

6.41
#2F58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2F58C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58C0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58C0#FFFFFF#000000##FFFFFF
##2F58C01.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f58c0;
/* rgb */ color: rgb(47, 88, 192);
/* oklch */ color: oklch(49.3% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c86d4',
    500: '#2f58c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f58c0;
$custom-light: #7c86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58c0",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 223.034,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.16988,
    "h": 264.6
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F58C0

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

Preview Lab → · Contrast checker → · Palette generator →

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