#2F58A0#2F58A0

#2F58A0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.125 H 260.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2F58A0
RGBrgb(47, 88, 160)
HSLhsl(218, 55%, 41%)
HSVhsv(218, 71%, 63%)
CMYKcmyk(70.6%, 45%, 0%, 37.3%)
CIE-LABlab(38.06, 10.69, -43.31)
CIE-LCHlch(38.06, 44.61, 283.86°)
OKLaboklab(46.94% -0.0201 -0.1239)
OKLCHoklch(46.94% 0.125 260.8)
XYZxyz(11.0049, 10.1207, 34.6244)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58A0 #A0772F
analogous
#2F90A0 #2F58A0 #3E2FA0
triadic
#2F58A0 #A02F58 #58A02F
tetradic
#2F58A0 #A02F90 #A0772F #2FA03E
square
#2F58A0 #A02F90 #A0772F #2FA03E
split-complementary
#2F58A0 #A03E2F #90A02F
monochromatic
#132441 #213E71 #2F58A0 #4474C8 #7397D6

Accessibility & contrast

On white

6.94
#2F58A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F58A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58A0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58A0#FFFFFF#000000##FFFFFF
##2F58A01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA3
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f58a0;
/* rgb */ color: rgb(47, 88, 160);
/* oklch */ color: oklch(46.9% 0.125 260.8);
Tailwind
colors: {
  custom: {
    50: '#7586bc',
    500: '#2f58a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f58a0;
$custom-light: #7586bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58a0",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 160
  },
  "hsl": {
    "h": 218.23,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.12549,
    "h": 260.8
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#2F58A0
secondary
#BEA06D
accent
#A84ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F58A0

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

Preview Lab → · Contrast checker → · Palette generator →

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