#2F58C3#2F58C3

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

Color values

HEX#2F58C3
RGBrgb(47, 88, 195)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.9%, 54.9%, 0%, 23.5%)
CIE-LABlab(40.45, 23.92, -60.08)
CIE-LCHlch(40.45, 64.67, 291.70°)
OKLaboklab(49.52% -0.0157 -0.1732)
OKLCHoklch(49.52% 0.174 264.8)
XYZxyz(14.5089, 11.5223, 53.0785)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58C3 #C39A2F
analogous
#2FA2C3 #2F58C3 #502FC3
triadic
#2F58C3 #C32F58 #58C32F
tetradic
#2F58C3 #C32FA2 #C39A2F #2FC350
square
#2F58C3 #C32FA2 #C39A2F #2FC350
split-complementary
#2F58C3 #C3502F #A2C32F
monochromatic
#172B60 #234292 #2F58C3 #587BD7 #8AA2E3

Accessibility & contrast

On white

6.35
#2F58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F58C3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58C3#FFFFFF#000000##FFFFFF
##2F58C31.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f58c3;
/* rgb */ color: rgb(47, 88, 195);
/* oklch */ color: oklch(49.5% 0.174 264.8);
Tailwind
colors: {
  custom: {
    50: '#7d86d6',
    500: '#2f58c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f58c3;
$custom-light: #7d86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58c3",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 223.378,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.17393,
    "h": 264.8
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#2F58C3
secondary
#CDB881
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F58C3

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

Preview Lab → · Contrast checker → · Palette generator →

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