#2F58A4#2F58A4

#2F58A4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.131 H 261.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F58A4
RGBrgb(47, 88, 164)
HSLhsl(219, 55%, 41%)
HSVhsv(219, 71%, 64%)
CMYKcmyk(71.3%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.31, 12.20, -45.29)
CIE-LCHlch(38.31, 46.91, 285.08°)
OKLaboklab(47.22% -0.0194 -0.1297)
OKLCHoklch(47.22% 0.131 261.5)
XYZxyz(11.3605, 10.2629, 36.4970)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58A4 #A47B2F
analogous
#2F93A4 #2F58A4 #412FA4
triadic
#2F58A4 #A42F58 #58A42F
tetradic
#2F58A4 #A42F93 #A47B2F #2FA441
square
#2F58A4 #A42F93 #A47B2F #2FA441
split-complementary
#2F58A4 #A4412F #93A42F
monochromatic
#142545 #213E74 #2F58A4 #4674CA #7698D8

Accessibility & contrast

On white

6.88
#2F58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58A4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58A4#FFFFFF#000000##FFFFFF
##2F58A41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1955A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f58a4;
/* rgb */ color: rgb(47, 88, 164);
/* oklch */ color: oklch(47.2% 0.131 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686bf',
    500: '#2f58a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f58a4;
$custom-light: #7686bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58a4",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 218.974,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.13114,
    "h": 261.5
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#2F58A4
secondary
#C0A36F
accent
#AA49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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