#2F55BB#2F55BB

#2F55BB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.167 H 265.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2F55BB
RGBrgb(47, 85, 187)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(74.9%, 54.5%, 0%, 26.7%)
CIE-LABlab(39.05, 22.87, -57.68)
CIE-LCHlch(39.05, 62.05, 291.62°)
OKLaboklab(48.28% -0.014 -0.1662)
OKLCHoklch(48.28% 0.167 265.2)
XYZxyz(13.3873, 10.6877, 48.3615)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BB #BB952F
analogous
#2F9BBB #2F55BB #4F2FBB
triadic
#2F55BB #BB2F55 #55BB2F
tetradic
#2F55BB #BB2F9B #BB952F #2FBB4F
square
#2F55BB #BB2F9B #BB952F #2FBB4F
split-complementary
#2F55BB #BB4F2F #9BBB2F
monochromatic
#162959 #233F8A #2F55BB #5376D4 #849DE0

Accessibility & contrast

On white

6.69
#2F55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55BB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BB#FFFFFF#000000##FFFFFF
##2F55BB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f55bb;
/* rgb */ color: rgb(47, 85, 187);
/* oklch */ color: oklch(48.3% 0.167 265.2);
Tailwind
colors: {
  custom: {
    50: '#7b84d0',
    500: '#2f55bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f55bb;
$custom-light: #7b84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55bb",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 223.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.1668,
    "h": 265.2
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#2F55BB
secondary
#C9B57C
accent
#B845E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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