#2F55BE#2F55BE

#2F55BE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.171 H 265.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2F55BE
RGBrgb(47, 85, 190)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 75%)
CMYKcmyk(75.3%, 55.3%, 0%, 25.5%)
CIE-LABlab(39.27, 24.00, -59.08)
CIE-LCHlch(39.27, 63.76, 292.11°)
OKLaboklab(48.52% -0.0138 -0.1703)
OKLCHoklch(48.52% 0.171 265.4)
XYZxyz(13.7118, 10.8175, 50.0706)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BE #BE982F
analogous
#2F9DBE #2F55BE #512FBE
triadic
#2F55BE #BE2F55 #55BE2F
tetradic
#2F55BE #BE2F9D #BE982F #2FBE51
square
#2F55BE #BE2F9D #BE982F #2FBE51
split-complementary
#2F55BE #BE512F #9DBE2F
monochromatic
#17295C #233F8D #2F55BE #5577D5 #869EE1

Accessibility & contrast

On white

6.64
#2F55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F55BE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BE#FFFFFF#000000##FFFFFF
##2F55BE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f55be;
/* rgb */ color: rgb(47, 85, 190);
/* oklch */ color: oklch(48.5% 0.171 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c84d2',
    500: '#2f55be',
    950: '#000000',
  },
}
SCSS
$custom: #2f55be;
$custom-light: #7c84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55be",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 224.056,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.17087,
    "h": 265.4
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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