#2F58BD#2F58BD

#2F58BD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.166 H 264.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2F58BD
RGBrgb(47, 88, 189)
HSLhsl(223, 60%, 46%)
HSVhsv(223, 75%, 74%)
CMYKcmyk(75.1%, 53.4%, 0%, 25.9%)
CIE-LABlab(40.01, 21.66, -57.30)
CIE-LCHlch(40.01, 61.25, 290.70°)
OKLaboklab(49.06% -0.0161 -0.165)
OKLCHoklch(49.06% 0.166 264.4)
XYZxyz(13.8441, 11.2564, 49.5773)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58BD #BD942F
analogous
#2F9FBD #2F58BD #4D2FBD
triadic
#2F58BD #BD2F58 #58BD2F
tetradic
#2F58BD #BD2F9F #BD942F #2FBD4D
square
#2F58BD #BD2F9F #BD942F #2FBD4D
split-complementary
#2F58BD #BD4D2F #9FBD2F
monochromatic
#172A5B #23418C #2F58BD #557AD5 #86A0E1

Accessibility & contrast

On white

6.46
#2F58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58BD#FFFFFF#000000##FFFFFF
##2F58BD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f58bd;
/* rgb */ color: rgb(47, 88, 189);
/* oklch */ color: oklch(49.1% 0.166 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c86d2',
    500: '#2f58bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f58bd;
$custom-light: #7c86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58bd",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 222.676,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.16582,
    "h": 264.4
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#2F58BD
secondary
#CAB47E
accent
#B544E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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