#2F58A9#2F58A9

#2F58A9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.138 H 262.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2F58A9
RGBrgb(47, 88, 169)
HSLhsl(220, 56%, 42%)
HSVhsv(220, 72%, 66%)
CMYKcmyk(72.2%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.63, 14.09, -47.75)
CIE-LCHlch(38.63, 49.78, 286.44°)
OKLaboklab(47.57% -0.0186 -0.1369)
OKLCHoklch(47.57% 0.138 262.3)
XYZxyz(11.8209, 10.4471, 38.9219)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58A9 #A9802F
analogous
#2F95A9 #2F58A9 #432FA9
triadic
#2F58A9 #A92F58 #58A92F
tetradic
#2F58A9 #A92F95 #A9802F #2FA943
square
#2F58A9 #A92F95 #A9802F #2FA943
split-complementary
#2F58A9 #A9432F #95A92F
monochromatic
#142649 #223F79 #2F58A9 #4975CC #7999DA

Accessibility & contrast

On white

6.80
#2F58A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F58A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58A9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58A9#FFFFFF#000000##FFFFFF
##2F58A91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AC
Deuteranopia (green-blind)
#0D56A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f58a9;
/* rgb */ color: rgb(47, 88, 169);
/* oklch */ color: oklch(47.6% 0.138 262.3);
Tailwind
colors: {
  custom: {
    50: '#7786c3',
    500: '#2f58a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f58a9;
$custom-light: #7786c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58a9",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 219.836,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.13817,
    "h": 262.3
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#2F58A9
secondary
#C2A772
accent
#AD48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F58A9

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

Preview Lab → · Contrast checker → · Palette generator →

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