#2F55BA#2F55BA

#2F55BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.165 H 265.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2F55BA
RGBrgb(47, 85, 186)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(74.7%, 54.3%, 0%, 27.1%)
CIE-LABlab(38.98, 22.49, -57.22)
CIE-LCHlch(38.98, 61.48, 291.46°)
OKLaboklab(48.2% -0.0141 -0.1648)
OKLCHoklch(48.2% 0.165 265.1)
XYZxyz(13.2806, 10.6451, 47.7996)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55BA #BA942F
analogous
#2F9ABA #2F55BA #4E2FBA
triadic
#2F55BA #BA2F55 #55BA2F
tetradic
#2F55BA #BA2F9A #BA942F #2FBA4E
square
#2F55BA #BA2F9A #BA942F #2FBA4E
split-complementary
#2F55BA #BA4E2F #9ABA2F
monochromatic
#162858 #233F89 #2F55BA #5376D3 #849DE0

Accessibility & contrast

On white

6.71
#2F55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55BA#FFFFFF#000000##FFFFFF
##2F55BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f55ba;
/* rgb */ color: rgb(47, 85, 186);
/* oklch */ color: oklch(48.2% 0.165 265.1);
Tailwind
colors: {
  custom: {
    50: '#7b84cf',
    500: '#2f55ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f55ba;
$custom-light: #7b84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55ba",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 223.597,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.16544,
    "h": 265.1
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#2F55BA
secondary
#C9B47C
accent
#B845E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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