#2F55B7#2F55B7

#2F55B7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.161 H 264.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2F55B7
RGBrgb(47, 85, 183)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 72%)
CMYKcmyk(74.3%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.76, 21.36, -55.81)
CIE-LCHlch(38.76, 59.76, 290.94°)
OKLaboklab(47.97% -0.0143 -0.1607)
OKLCHoklch(47.97% 0.161 264.9)
XYZxyz(12.9650, 10.5188, 46.1376)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B7 #B7912F
analogous
#2F99B7 #2F55B7 #4D2FB7
triadic
#2F55B7 #B72F55 #55B72F
tetradic
#2F55B7 #B72F99 #B7912F #2FB74D
square
#2F55B7 #B72F99 #B7912F #2FB74D
split-complementary
#2F55B7 #B74D2F #99B72F
monochromatic
#162856 #223E86 #2F55B7 #5175D2 #829CDF

Accessibility & contrast

On white

6.77
#2F55B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F55B7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B7#FFFFFF#000000##FFFFFF
##2F55B71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f55b7;
/* rgb */ color: rgb(47, 85, 183);
/* oklch */ color: oklch(48.0% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a84cd',
    500: '#2f55b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b7;
$custom-light: #7a84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b7",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 223.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.16134,
    "h": 264.9
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#2F55B7
secondary
#C8B27A
accent
#B645E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F55B7

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

Preview Lab → · Contrast checker → · Palette generator →

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