#2F55BD#2F55BD

#2F55BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.170 H 265.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F55BD
RGBrgb(47, 85, 189)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 74%)
CMYKcmyk(75.1%, 55%, 0%, 25.9%)
CIE-LABlab(39.20, 23.62, -58.61)
CIE-LCHlch(39.20, 63.19, 291.95°)
OKLaboklab(48.44% -0.0139 -0.1689)
OKLCHoklch(48.44% 0.17 265.3)
XYZxyz(13.6029, 10.7740, 49.4969)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BD #BD972F
analogous
#2F9CBD #2F55BD #502FBD
triadic
#2F55BD #BD2F55 #55BD2F
tetradic
#2F55BD #BD2F9C #BD972F #2FBD50
square
#2F55BD #BD2F9C #BD972F #2FBD50
split-complementary
#2F55BD #BD502F #9CBD2F
monochromatic
#17295B #233F8C #2F55BD #5577D5 #869EE1

Accessibility & contrast

On white

6.66
#2F55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F55BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55BD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BD#FFFFFF#000000##FFFFFF
##2F55BD1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f55bd;
/* rgb */ color: rgb(47, 85, 189);
/* oklch */ color: oklch(48.4% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#7c84d2',
    500: '#2f55bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f55bd;
$custom-light: #7c84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55bd",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 223.944,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.16952,
    "h": 265.3
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#2F55BD
secondary
#CAB67E
accent
#B944E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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