#2F55BF#2F55BF

#2F55BF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.172 H 265.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2F55BF
RGBrgb(47, 85, 191)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 75%, 75%)
CMYKcmyk(75.4%, 55.5%, 0%, 25.1%)
CIE-LABlab(39.35, 24.37, -59.54)
CIE-LCHlch(39.35, 64.33, 292.26°)
OKLaboklab(48.6% -0.0137 -0.1717)
OKLCHoklch(48.6% 0.172 265.4)
XYZxyz(13.8214, 10.8614, 50.6481)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BF #BF992F
analogous
#2F9DBF #2F55BF #512FBF
triadic
#2F55BF #BF2F55 #55BF2F
tetradic
#2F55BF #BF2F9D #BF992F #2FBF51
square
#2F55BF #BF2F9D #BF992F #2FBF51
split-complementary
#2F55BF #BF512F #9DBF2F
monochromatic
#17295D #233F8E #2F55BF #5677D5 #879FE1

Accessibility & contrast

On white

6.62
#2F55BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F55BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55BF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BF#FFFFFF#000000##FFFFFF
##2F55BF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f55bf;
/* rgb */ color: rgb(47, 85, 191);
/* oklch */ color: oklch(48.6% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c84d3',
    500: '#2f55bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f55bf;
$custom-light: #7c84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55bf",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 224.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.486,
    "c": 0.17222,
    "h": 265.4
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#2F55BF
secondary
#CBB77F
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F55BF

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

Preview Lab → · Contrast checker → · Palette generator →

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