#2F58AF#2F58AF

#2F58AF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.147 H 263.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2F58AF
RGBrgb(47, 88, 175)
HSLhsl(221, 58%, 44%)
HSVhsv(221, 73%, 69%)
CMYKcmyk(73.1%, 49.7%, 0%, 31.4%)
CIE-LABlab(39.03, 16.36, -50.66)
CIE-LCHlch(39.03, 53.23, 287.90°)
OKLaboklab(48% -0.0177 -0.1455)
OKLCHoklch(48% 0.147 263.1)
XYZxyz(12.3971, 10.6776, 41.9568)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58AF #AF862F
analogous
#2F98AF #2F58AF #462FAF
triadic
#2F58AF #AF2F58 #58AF2F
tetradic
#2F58AF #AF2F98 #AF862F #2FAF46
square
#2F58AF #AF2F98 #AF862F #2FAF46
split-complementary
#2F58AF #AF462F #98AF2F
monochromatic
#15274F #22407F #2F58AF #4C76CF #7C9BDC

Accessibility & contrast

On white

6.70
#2F58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58AF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58AF#FFFFFF#000000##FFFFFF
##2F58AF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f58af;
/* rgb */ color: rgb(47, 88, 175);
/* oklch */ color: oklch(48.0% 0.147 263.1);
Tailwind
colors: {
  custom: {
    50: '#7886c7',
    500: '#2f58af',
    950: '#000000',
  },
}
SCSS
$custom: #2f58af;
$custom-light: #7886c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58af",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 220.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.14655,
    "h": 263.1
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#2F58AF
secondary
#C4AB75
accent
#B047E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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