#2F58AA#2F58AA

#2F58AA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.140 H 262.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2F58AA
RGBrgb(47, 88, 170)
HSLhsl(220, 57%, 43%)
HSVhsv(220, 72%, 67%)
CMYKcmyk(72.4%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.70, 14.47, -48.23)
CIE-LCHlch(38.70, 50.36, 286.70°)
OKLaboklab(47.64% -0.0184 -0.1384)
OKLCHoklch(47.64% 0.14 262.4)
XYZxyz(11.9151, 10.4848, 39.4182)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58AA #AA812F
analogous
#2F95AA #2F58AA #432FAA
triadic
#2F58AA #AA2F58 #58AA2F
tetradic
#2F58AA #AA2F95 #AA812F #2FAA43
square
#2F58AA #AA2F95 #AA812F #2FAA43
split-complementary
#2F58AA #AA432F #95AA2F
monochromatic
#14264A #223F7A #2F58AA #4975CD #799ADA

Accessibility & contrast

On white

6.78
#2F58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58AA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58AA#FFFFFF#000000##FFFFFF
##2F58AA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#0956A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f58aa;
/* rgb */ color: rgb(47, 88, 170);
/* oklch */ color: oklch(47.6% 0.140 262.4);
Tailwind
colors: {
  custom: {
    50: '#7786c4',
    500: '#2f58aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f58aa;
$custom-light: #7786c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58aa",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 220,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.13958,
    "h": 262.4
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#2F58AA
secondary
#C2A872
accent
#AD48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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