#2F55C3#2F55C3

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

Color values

HEX#2F55C3
RGBrgb(47, 85, 195)
HSLhsl(225, 61%, 47%)
HSVhsv(225, 76%, 76%)
CMYKcmyk(75.9%, 56.4%, 0%, 23.5%)
CIE-LABlab(39.65, 25.87, -61.38)
CIE-LCHlch(39.65, 66.61, 292.85°)
OKLaboklab(48.92% -0.0135 -0.1771)
OKLCHoklch(48.92% 0.178 265.6)
XYZxyz(14.2676, 11.0399, 52.9981)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55C3 #C39D2F
analogous
#2F9FC3 #2F55C3 #532FC3
triadic
#2F55C3 #C32F55 #55C32F
tetradic
#2F55C3 #C32F9F #C39D2F #2FC353
square
#2F55C3 #C32F9F #C39D2F #2FC353
split-complementary
#2F55C3 #C3532F #9FC32F
monochromatic
#172A60 #234092 #2F55C3 #5879D7 #8AA1E3

Accessibility & contrast

On white

6.55
#2F55C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2F55C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55C3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55C3#FFFFFF#000000##FFFFFF
##2F55C31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f55c3;
/* rgb */ color: rgb(47, 85, 195);
/* oklch */ color: oklch(48.9% 0.178 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d84d6',
    500: '#2f55c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f55c3;
$custom-light: #7d84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55c3",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 195
  },
  "hsl": {
    "h": 224.595,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.1776,
    "h": 265.6
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F55C3

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

Preview Lab → · Contrast checker → · Palette generator →

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