#2F55C2#2F55C2

#2F55C2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.176 H 265.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F55C2
RGBrgb(47, 85, 194)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(75.8%, 56.2%, 0%, 23.9%)
CIE-LABlab(39.57, 25.50, -60.92)
CIE-LCHlch(39.57, 66.04, 292.71°)
OKLaboklab(48.84% -0.0135 -0.1757)
OKLCHoklch(48.84% 0.176 265.6)
XYZxyz(14.1550, 10.9948, 52.4047)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55C2 #C29C2F
analogous
#2F9EC2 #2F55C2 #532FC2
triadic
#2F55C2 #C22F55 #55C22F
tetradic
#2F55C2 #C22F9E #C29C2F #2FC253
square
#2F55C2 #C22F9E #C29C2F #2FC253
split-complementary
#2F55C2 #C2532F #9EC22F
monochromatic
#172A5F #233F91 #2F55C2 #5878D6 #89A0E2

Accessibility & contrast

On white

6.56
#2F55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F55C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55C2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55C2#FFFFFF#000000##FFFFFF
##2F55C21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f55c2;
/* rgb */ color: rgb(47, 85, 194);
/* oklch */ color: oklch(48.8% 0.176 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d84d5',
    500: '#2f55c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f55c2;
$custom-light: #7d84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55c2",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 224.49,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.17626,
    "h": 265.6
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#2F55C2
secondary
#CCB981
accent
#BB44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F55C2

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

Preview Lab → · Contrast checker → · Palette generator →

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