#2F58BA#2F58BA

#2F58BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.162 H 264.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2F58BA
RGBrgb(47, 88, 186)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(74.7%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.79, 20.52, -55.89)
CIE-LCHlch(39.79, 59.54, 290.16°)
OKLaboklab(48.82% -0.0164 -0.1609)
OKLCHoklch(48.82% 0.162 264.2)
XYZxyz(13.5218, 11.1275, 47.8800)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F58BA #BA912F
analogous
#2F9DBA #2F58BA #4B2FBA
triadic
#2F58BA #BA2F58 #58BA2F
tetradic
#2F58BA #BA2F9D #BA912F #2FBA4B
square
#2F58BA #BA2F9D #BA912F #2FBA4B
split-complementary
#2F58BA #BA4B2F #9DBA2F
monochromatic
#162A58 #234189 #2F58BA #5379D3 #849FE0

Accessibility & contrast

On white

6.51
#2F58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2F58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F58BA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F58BA#FFFFFF#000000##FFFFFF
##2F58BA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f58ba;
/* rgb */ color: rgb(47, 88, 186);
/* oklch */ color: oklch(48.8% 0.162 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b86cf',
    500: '#2f58ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f58ba;
$custom-light: #7b86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f58ba",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 222.302,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.16173,
    "h": 264.2
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#2F58BA
secondary
#C9B27C
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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