#2F55B6#2F55B6

#2F55B6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.160 H 264.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2F55B6
RGBrgb(47, 85, 182)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 71%)
CMYKcmyk(74.2%, 53.3%, 0%, 28.6%)
CIE-LABlab(38.69, 20.98, -55.34)
CIE-LCHlch(38.69, 59.18, 290.76°)
OKLaboklab(47.89% -0.0144 -0.1593)
OKLCHoklch(47.89% 0.16 264.8)
XYZxyz(12.8613, 10.4773, 45.5914)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B6 #B6902F
analogous
#2F99B6 #2F55B6 #4C2FB6
triadic
#2F55B6 #B62F55 #55B62F
tetradic
#2F55B6 #B62F99 #B6902F #2FB64C
square
#2F55B6 #B62F99 #B6902F #2FB64C
split-complementary
#2F55B6 #B64C2F #99B62F
monochromatic
#162855 #223E85 #2F55B6 #5075D2 #819BDE

Accessibility & contrast

On white

6.78
#2F55B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F55B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55B6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B6#FFFFFF#000000##FFFFFF
##2F55B61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f55b6;
/* rgb */ color: rgb(47, 85, 182);
/* oklch */ color: oklch(47.9% 0.160 264.8);
Tailwind
colors: {
  custom: {
    50: '#7a84cd',
    500: '#2f55b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b6;
$custom-light: #7a84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b6",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 182
  },
  "hsl": {
    "h": 223.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.15997,
    "h": 264.8
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#2F55B6
secondary
#C7B179
accent
#B646E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2F55B6

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

Preview Lab → · Contrast checker → · Palette generator →

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