#2F58AC#2F58AC

#2F58AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.142 H 262.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2F58AC
RGBrgb(47, 88, 172)
HSLhsl(220, 57%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(72.7%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.83, 15.23, -49.21)
CIE-LCHlch(38.83, 51.51, 287.19°)
OKLaboklab(47.78% -0.0181 -0.1412)
OKLCHoklch(47.78% 0.142 262.7)
XYZxyz(12.1058, 10.5611, 40.4222)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58AC #AC832F
analogous
#2F96AC #2F58AC #442FAC
triadic
#2F58AC #AC2F58 #58AC2F
tetradic
#2F58AC #AC2F96 #AC832F #2FAC44
square
#2F58AC #AC2F96 #AC832F #2FAC44
split-complementary
#2F58AC #AC442F #96AC2F
monochromatic
#15274C #223F7C #2F58AC #4B76CE #7B9ADB

Accessibility & contrast

On white

6.75
#2F58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58AC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58AC#FFFFFF#000000##FFFFFF
##2F58AC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962AF
Deuteranopia (green-blind)
#0156AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f58ac;
/* rgb */ color: rgb(47, 88, 172);
/* oklch */ color: oklch(47.8% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7886c5',
    500: '#2f58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f58ac;
$custom-light: #7886c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58ac",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 220.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.14238,
    "h": 262.7
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#2F58AC
secondary
#C3A974
accent
#AE47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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