#2F58AE#2F58AE

#2F58AE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.145 H 262.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2F58AE
RGBrgb(47, 88, 174)
HSLhsl(221, 57%, 43%)
HSVhsv(221, 73%, 68%)
CMYKcmyk(73%, 49.4%, 0%, 31.8%)
CIE-LABlab(38.96, 15.98, -50.17)
CIE-LCHlch(38.96, 52.66, 287.67°)
OKLaboklab(47.93% -0.0178 -0.1441)
OKLCHoklch(47.93% 0.145 262.9)
XYZxyz(12.2993, 10.6385, 41.4414)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58AE #AE852F
analogous
#2F97AE #2F58AE #452FAE
triadic
#2F58AE #AE2F58 #58AE2F
tetradic
#2F58AE #AE2F97 #AE852F #2FAE45
square
#2F58AE #AE2F97 #AE852F #2FAE45
split-complementary
#2F58AE #AE452F #97AE2F
monochromatic
#15274E #22407E #2F58AE #4C76CF #7C9BDC

Accessibility & contrast

On white

6.71
#2F58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58AE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58AE#FFFFFF#000000##FFFFFF
##2F58AE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f58ae;
/* rgb */ color: rgb(47, 88, 174);
/* oklch */ color: oklch(47.9% 0.145 262.9);
Tailwind
colors: {
  custom: {
    50: '#7886c7',
    500: '#2f58ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f58ae;
$custom-light: #7886c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58ae",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 220.63,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47928,
    "c": 0.14517,
    "h": 262.9
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#2F58AE
secondary
#C4AA75
accent
#AF47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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