#2F55AC#2F55AC

#2F55AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.146 H 263.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F55AC
RGBrgb(47, 85, 172)
HSLhsl(222, 57%, 43%)
HSVhsv(222, 73%, 67%)
CMYKcmyk(72.7%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.98, 17.20, -50.57)
CIE-LCHlch(37.98, 53.42, 288.78°)
OKLaboklab(47.14% -0.0155 -0.1453)
OKLCHoklch(47.14% 0.146 263.9)
XYZxyz(11.8645, 10.0786, 40.3418)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55AC #AC862F
analogous
#2F93AC #2F55AC #472FAC
triadic
#2F55AC #AC2F55 #55AC2F
tetradic
#2F55AC #AC2F93 #AC862F #2FAC47
square
#2F55AC #AC2F93 #AC862F #2FAC47
split-complementary
#2F55AC #AC472F #93AC2F
monochromatic
#15254C #223D7C #2F55AC #4B72CE #7B98DB

Accessibility & contrast

On white

6.96
#2F55AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F55AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55AC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55AC#FFFFFF#000000##FFFFFF
##2F55AC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f55ac;
/* rgb */ color: rgb(47, 85, 172);
/* oklch */ color: oklch(47.1% 0.146 263.9);
Tailwind
colors: {
  custom: {
    50: '#7884c5',
    500: '#2f55ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f55ac;
$custom-light: #7884c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55ac",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 221.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.14611,
    "h": 263.9
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#2F55AC
secondary
#C3AB74
accent
#B247E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55AC

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

Preview Lab → · Contrast checker → · Palette generator →

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