#2F55C0#2F55C0

#2F55C0 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.174 H 265.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2F55C0
RGBrgb(47, 85, 192)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 75%)
CMYKcmyk(75.5%, 55.7%, 0%, 24.7%)
CIE-LABlab(39.42, 24.75, -60.00)
CIE-LCHlch(39.42, 64.90, 292.41°)
OKLaboklab(48.68% -0.0137 -0.173)
OKLCHoklch(48.68% 0.174 265.5)
XYZxyz(13.9319, 10.9056, 51.2297)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55C0 #C09A2F
analogous
#2F9EC0 #2F55C0 #522FC0
triadic
#2F55C0 #C02F55 #55C02F
tetradic
#2F55C0 #C02F9E #C09A2F #2FC052
square
#2F55C0 #C02F9E #C09A2F #2FC052
split-complementary
#2F55C0 #C0522F #9EC02F
monochromatic
#17295E #233F8F #2F55C0 #5678D6 #889FE2

Accessibility & contrast

On white

6.60
#2F55C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F55C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55C0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55C0#FFFFFF#000000##FFFFFF
##2F55C01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f55c0;
/* rgb */ color: rgb(47, 85, 192);
/* oklch */ color: oklch(48.7% 0.174 265.5);
Tailwind
colors: {
  custom: {
    50: '#7c84d4',
    500: '#2f55c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f55c0;
$custom-light: #7c84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55c0",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 224.276,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.17357,
    "h": 265.5
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#2F55C0
secondary
#CBB87F
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F55C0

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

Preview Lab → · Contrast checker → · Palette generator →

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