#2F55BC#2F55BC

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

Color values

HEX#2F55BC
RGBrgb(47, 85, 188)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 74%)
CMYKcmyk(75%, 54.8%, 0%, 26.3%)
CIE-LABlab(39.12, 23.24, -58.15)
CIE-LCHlch(39.12, 62.62, 291.79°)
OKLaboklab(48.36% -0.0139 -0.1676)
OKLCHoklch(48.36% 0.168 265.2)
XYZxyz(13.4947, 10.7307, 48.9272)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BC #BC962F
analogous
#2F9BBC #2F55BC #4F2FBC
triadic
#2F55BC #BC2F55 #55BC2F
tetradic
#2F55BC #BC2F9B #BC962F #2FBC4F
square
#2F55BC #BC2F9B #BC962F #2FBC4F
split-complementary
#2F55BC #BC4F2F #9BBC2F
monochromatic
#17295A #233F8B #2F55BC #5477D4 #859EE0

Accessibility & contrast

On white

6.67
#2F55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55BC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BC#FFFFFF#000000##FFFFFF
##2F55BC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f55bc;
/* rgb */ color: rgb(47, 85, 188);
/* oklch */ color: oklch(48.4% 0.168 265.2);
Tailwind
colors: {
  custom: {
    50: '#7c84d1',
    500: '#2f55bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f55bc;
$custom-light: #7c84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55bc",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 223.83,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.16816,
    "h": 265.2
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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