#2F55B1#2F55B1

#2F55B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.153 H 264.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2F55B1
RGBrgb(47, 85, 177)
HSLhsl(222, 58%, 44%)
HSVhsv(222, 73%, 69%)
CMYKcmyk(73.4%, 52%, 0%, 30.6%)
CIE-LABlab(38.33, 19.09, -52.97)
CIE-LCHlch(38.33, 56.30, 289.82°)
OKLaboklab(47.51% -0.0149 -0.1524)
OKLCHoklch(47.51% 0.153 264.4)
XYZxyz(12.3538, 10.2743, 42.9185)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B1 #B18B2F
analogous
#2F96B1 #2F55B1 #4A2FB1
triadic
#2F55B1 #B12F55 #55B12F
tetradic
#2F55B1 #B12F96 #B18B2F #2FB14A
square
#2F55B1 #B12F96 #B18B2F #2FB14A
split-complementary
#2F55B1 #B14A2F #96B12F
monochromatic
#152750 #223E81 #2F55B1 #4D74D0 #7E99DD

Accessibility & contrast

On white

6.87
#2F55B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F55B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55B1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B1#FFFFFF#000000##FFFFFF
##2F55B11.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f55b1;
/* rgb */ color: rgb(47, 85, 177);
/* oklch */ color: oklch(47.5% 0.153 264.4);
Tailwind
colors: {
  custom: {
    50: '#7984c9',
    500: '#2f55b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b1;
$custom-light: #7984c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b1",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 222.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.15308,
    "h": 264.4
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#2F55B1
secondary
#C5AE76
accent
#B447E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55B1

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

Preview Lab → · Contrast checker → · Palette generator →

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