#2F58BE#2F58BE

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

Color values

HEX#2F58BE
RGBrgb(47, 88, 190)
HSLhsl(223, 60%, 46%)
HSVhsv(223, 75%, 75%)
CMYKcmyk(75.3%, 53.7%, 0%, 25.5%)
CIE-LABlab(40.08, 22.03, -57.76)
CIE-LCHlch(40.08, 61.82, 290.88°)
OKLaboklab(49.13% -0.0161 -0.1664)
OKLCHoklch(49.13% 0.167 264.5)
XYZxyz(13.9530, 11.2999, 50.1510)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58BE #BE952F
analogous
#2FA0BE #2F58BE #4D2FBE
triadic
#2F58BE #BE2F58 #58BE2F
tetradic
#2F58BE #BE2FA0 #BE952F #2FBE4D
square
#2F58BE #BE2FA0 #BE952F #2FBE4D
split-complementary
#2F58BE #BE4D2F #A0BE2F
monochromatic
#172B5C #23418D #2F58BE #557AD5 #86A0E1

Accessibility & contrast

On white

6.44
#2F58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2F58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58BE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58BE#FFFFFF#000000##FFFFFF
##2F58BE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f58be;
/* rgb */ color: rgb(47, 88, 190);
/* oklch */ color: oklch(49.1% 0.167 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c86d2',
    500: '#2f58be',
    950: '#000000',
  },
}
SCSS
$custom: #2f58be;
$custom-light: #7c86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58be",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 222.797,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.16717,
    "h": 264.5
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#2F58BE
secondary
#CBB57E
accent
#B644E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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