#2F55A4#2F55A4

#2F55A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.135 H 262.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2F55A4
RGBrgb(47, 85, 164)
HSLhsl(221, 55%, 41%)
HSVhsv(221, 71%, 64%)
CMYKcmyk(71.3%, 48.2%, 0%, 35.7%)
CIE-LABlab(37.45, 14.17, -46.68)
CIE-LCHlch(37.45, 48.78, 286.89°)
OKLaboklab(46.55% -0.0166 -0.1338)
OKLCHoklch(46.55% 0.135 262.9)
XYZxyz(11.1193, 9.7805, 36.4166)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55A4 #A47E2F
analogous
#2F90A4 #2F55A4 #442FA4
triadic
#2F55A4 #A42F55 #55A42F
tetradic
#2F55A4 #A42F90 #A47E2F #2FA444
square
#2F55A4 #A42F90 #A47E2F #2FA444
split-complementary
#2F55A4 #A4442F #90A42F
monochromatic
#142445 #213C74 #2F55A4 #4671CA #7696D8

Accessibility & contrast

On white

7.10
#2F55A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F55A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F55A4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55A4#FFFFFF#000000##FFFFFF
##2F55A41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#0D53A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f55a4;
/* rgb */ color: rgb(47, 85, 164);
/* oklch */ color: oklch(46.6% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#7684bf',
    500: '#2f55a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f55a4;
$custom-light: #7684bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55a4",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 220.513,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.13487,
    "h": 262.9
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#2F55A4
secondary
#C0A56F
accent
#AE49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2F55A4

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

Preview Lab → · Contrast checker → · Palette generator →

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