#2F58B7#2F58B7

#2F58B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.158 H 263.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F58B7
RGBrgb(47, 88, 183)
HSLhsl(222, 59%, 45%)
HSVhsv(222, 74%, 72%)
CMYKcmyk(74.3%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.58, 19.39, -54.48)
CIE-LCHlch(39.58, 57.82, 289.59°)
OKLaboklab(48.6% -0.0167 -0.1567)
OKLCHoklch(48.6% 0.158 263.9)
XYZxyz(13.2062, 11.0012, 46.2180)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58B7 #B78E2F
analogous
#2F9CB7 #2F58B7 #4A2FB7
triadic
#2F58B7 #B72F58 #58B72F
tetradic
#2F58B7 #B72F9C #B78E2F #2FB74A
square
#2F58B7 #B72F9C #B78E2F #2FB74A
split-complementary
#2F58B7 #B74A2F #9CB72F
monochromatic
#162956 #224186 #2F58B7 #5178D2 #829EDF

Accessibility & contrast

On white

6.56
#2F58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58B7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58B7#FFFFFF#000000##FFFFFF
##2F58B71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A64BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f58b7;
/* rgb */ color: rgb(47, 88, 183);
/* oklch */ color: oklch(48.6% 0.158 263.9);
Tailwind
colors: {
  custom: {
    50: '#7a86cd',
    500: '#2f58b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f58b7;
$custom-light: #7a86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58b7",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 221.912,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.15762,
    "h": 263.9
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#2F58B7
secondary
#C8B07A
accent
#B345E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2F58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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