#2F58BC#2F58BC

#2F58BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.164 H 264.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2F58BC
RGBrgb(47, 88, 188)
HSLhsl(223, 60%, 46%)
HSVhsv(223, 75%, 74%)
CMYKcmyk(75%, 53.2%, 0%, 26.3%)
CIE-LABlab(39.94, 21.28, -56.83)
CIE-LCHlch(39.94, 60.68, 290.53°)
OKLaboklab(48.98% -0.0162 -0.1636)
OKLCHoklch(48.98% 0.164 264.3)
XYZxyz(13.7359, 11.2131, 49.0076)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58BC #BC932F
analogous
#2F9EBC #2F58BC #4C2FBC
triadic
#2F58BC #BC2F58 #58BC2F
tetradic
#2F58BC #BC2F9E #BC932F #2FBC4C
square
#2F58BC #BC2F9E #BC932F #2FBC4C
split-complementary
#2F58BC #BC4C2F #9EBC2F
monochromatic
#172A5A #23418B #2F58BC #5479D4 #85A0E0

Accessibility & contrast

On white

6.48
#2F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2F58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58BC#FFFFFF#000000##FFFFFF
##2F58BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f58bc;
/* rgb */ color: rgb(47, 88, 188);
/* oklch */ color: oklch(49.0% 0.164 264.3);
Tailwind
colors: {
  custom: {
    50: '#7b86d1',
    500: '#2f58bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f58bc;
$custom-light: #7b86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58bc",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 222.553,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48977,
    "c": 0.16445,
    "h": 264.3
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#2F58BC
secondary
#CAB37D
accent
#B545E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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