#2F55D3#2F55D3

#2F55D3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.199 H 266.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2F55D3
RGBrgb(47, 85, 211)
HSLhsl(226, 65%, 51%)
HSVhsv(226, 78%, 83%)
CMYKcmyk(77.7%, 59.7%, 0%, 17.3%)
CIE-LABlab(40.90, 31.82, -68.59)
CIE-LCHlch(40.90, 75.61, 294.88°)
OKLaboklab(50.25% -0.0129 -0.1982)
OKLCHoklch(50.25% 0.199 266.3)
XYZxyz(16.1745, 11.8026, 63.0411)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55D3 #D3AD2F
analogous
#2FA7D3 #2F55D3 #5B2FD3
triadic
#2F55D3 #D32F55 #55D32F
tetradic
#2F55D3 #D32FA7 #D3AD2F #2FD35B
square
#2F55D3 #D32FA7 #D3AD2F #2FD35B
split-complementary
#2F55D3 #D35B2F #A7D32F
monochromatic
#182C70 #2240A2 #2F55D3 #627EDE #94A8E8

Accessibility & contrast

On white

6.25
#2F55D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2F55D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55D3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55D3#FFFFFF#000000##FFFFFF
##2F55D31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f55d3;
/* rgb */ color: rgb(47, 85, 211);
/* oklch */ color: oklch(50.3% 0.199 266.3);
Tailwind
colors: {
  custom: {
    50: '#8184e1',
    500: '#2f55d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f55d3;
$custom-light: #8184e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55d3",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 226.098,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.19867,
    "h": 266.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#2F55D3
secondary
#D3C28A
accent
#C140E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2F55D3

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

Preview Lab → · Contrast checker → · Palette generator →

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