#2F55B9#2F55B9

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

Color values

HEX#2F55B9
RGBrgb(47, 85, 185)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 75%, 73%)
CMYKcmyk(74.6%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.90, 22.11, -56.75)
CIE-LCHlch(38.90, 60.90, 291.29°)
OKLaboklab(48.13% -0.0142 -0.1635)
OKLCHoklch(48.13% 0.164 265)
XYZxyz(13.1747, 10.6027, 47.2417)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B9 #B9932F
analogous
#2F9AB9 #2F55B9 #4E2FB9
triadic
#2F55B9 #B92F55 #55B92F
tetradic
#2F55B9 #B92F9A #B9932F #2FB94E
square
#2F55B9 #B92F9A #B9932F #2FB94E
split-complementary
#2F55B9 #B94E2F #9AB92F
monochromatic
#162857 #233F88 #2F55B9 #5276D3 #839CDF

Accessibility & contrast

On white

6.73
#2F55B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F55B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55B9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B9#FFFFFF#000000##FFFFFF
##2F55B91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f55b9;
/* rgb */ color: rgb(47, 85, 185);
/* oklch */ color: oklch(48.1% 0.164 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b84cf',
    500: '#2f55b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b9;
$custom-light: #7b84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b9",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 223.478,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.16408,
    "h": 265
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#2F55B9
secondary
#C9B37B
accent
#B745E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F55B9

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

Preview Lab → · Contrast checker → · Palette generator →

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