#2F58B4#2F58B4

#2F58B4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.153 H 263.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2F58B4
RGBrgb(47, 88, 180)
HSLhsl(222, 59%, 45%)
HSVhsv(222, 74%, 71%)
CMYKcmyk(73.9%, 51.1%, 0%, 29.4%)
CIE-LABlab(39.37, 18.26, -53.05)
CIE-LCHlch(39.37, 56.10, 288.99°)
OKLaboklab(48.37% -0.0171 -0.1525)
OKLCHoklch(48.37% 0.153 263.6)
XYZxyz(12.8973, 10.8777, 44.5910)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58B4 #B48B2F
analogous
#2F9AB4 #2F58B4 #492FB4
triadic
#2F58B4 #B42F58 #58B42F
tetradic
#2F58B4 #B42F9A #B48B2F #2FB449
square
#2F58B4 #B42F9A #B48B2F #2FB449
split-complementary
#2F58B4 #B4492F #9AB42F
monochromatic
#162953 #224083 #2F58B4 #4F77D1 #809DDE

Accessibility & contrast

On white

6.61
#2F58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F58B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58B4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58B4#FFFFFF#000000##FFFFFF
##2F58B41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f58b4;
/* rgb */ color: rgb(47, 88, 180);
/* oklch */ color: oklch(48.4% 0.153 263.6);
Tailwind
colors: {
  custom: {
    50: '#7a86cb',
    500: '#2f58b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f58b4;
$custom-light: #7a86cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58b4",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 221.504,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.15348,
    "h": 263.6
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#2F58B4
secondary
#C7AE78
accent
#B246E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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