#2F55C4#2F55C4

#2F55C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.179 H 265.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2F55C4
RGBrgb(47, 85, 196)
HSLhsl(225, 61%, 48%)
HSVhsv(225, 76%, 77%)
CMYKcmyk(76%, 56.6%, 0%, 23.1%)
CIE-LABlab(39.72, 26.24, -61.84)
CIE-LCHlch(39.72, 67.18, 293.00°)
OKLaboklab(49% -0.0134 -0.1784)
OKLCHoklch(49% 0.179 265.7)
XYZxyz(14.3811, 11.0853, 53.5956)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55C4 #C49E2F
analogous
#2F9FC4 #2F55C4 #532FC4
triadic
#2F55C4 #C42F55 #55C42F
tetradic
#2F55C4 #C42F9F #C49E2F #2FC453
square
#2F55C4 #C42F9F #C49E2F #2FC453
split-complementary
#2F55C4 #C4532F #9FC42F
monochromatic
#172A61 #234093 #2F55C4 #5979D7 #8AA1E3

Accessibility & contrast

On white

6.53
#2F55C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2F55C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55C4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55C4#FFFFFF#000000##FFFFFF
##2F55C41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f55c4;
/* rgb */ color: rgb(47, 85, 196);
/* oklch */ color: oklch(49.0% 0.179 265.7);
Tailwind
colors: {
  custom: {
    50: '#7d84d7',
    500: '#2f55c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f55c4;
$custom-light: #7d84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55c4",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 224.698,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.17893,
    "h": 265.7
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#2F55C4
secondary
#CDBA82
accent
#BB43E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F55C4

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

Preview Lab → · Contrast checker → · Palette generator →

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