#2F55B8#2F55B8

#2F55B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.163 H 265.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2F55B8
RGBrgb(47, 85, 184)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 72%)
CMYKcmyk(74.5%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.83, 21.74, -56.28)
CIE-LCHlch(38.83, 60.33, 291.12°)
OKLaboklab(48.05% -0.0142 -0.1621)
OKLCHoklch(48.05% 0.163 265)
XYZxyz(13.0695, 10.5606, 46.6877)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B8 #B8922F
analogous
#2F99B8 #2F55B8 #4E2FB8
triadic
#2F55B8 #B82F55 #55B82F
tetradic
#2F55B8 #B82F99 #B8922F #2FB84E
square
#2F55B8 #B82F99 #B8922F #2FB84E
split-complementary
#2F55B8 #B84E2F #99B82F
monochromatic
#162857 #233E87 #2F55B8 #5275D3 #829CDF

Accessibility & contrast

On white

6.75
#2F55B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F55B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55B8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B8#FFFFFF#000000##FFFFFF
##2F55B81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f55b8;
/* rgb */ color: rgb(47, 85, 184);
/* oklch */ color: oklch(48.0% 0.163 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b84ce',
    500: '#2f55b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b8;
$custom-light: #7b84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b8",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 223.358,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.16272,
    "h": 265
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#2F55B8
secondary
#C8B37B
accent
#B745E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F55B8

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

Preview Lab → · Contrast checker → · Palette generator →

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