#2F55B4#2F55B4

#2F55B4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.157 H 264.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2F55B4
RGBrgb(47, 85, 180)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 71%)
CMYKcmyk(73.9%, 52.8%, 0%, 29.4%)
CIE-LABlab(38.54, 20.23, -54.39)
CIE-LCHlch(38.54, 58.03, 290.40°)
OKLaboklab(47.74% -0.0146 -0.1565)
OKLCHoklch(47.74% 0.157 264.7)
XYZxyz(12.6561, 10.3953, 44.5106)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55B4 #B48E2F
analogous
#2F98B4 #2F55B4 #4C2FB4
triadic
#2F55B4 #B42F55 #55B42F
tetradic
#2F55B4 #B42F98 #B48E2F #2FB44C
square
#2F55B4 #B42F98 #B48E2F #2FB44C
split-complementary
#2F55B4 #B44C2F #98B42F
monochromatic
#162753 #223E83 #2F55B4 #4F74D1 #809BDE

Accessibility & contrast

On white

6.82
#2F55B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F55B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55B4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55B4#FFFFFF#000000##FFFFFF
##2F55B41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f55b4;
/* rgb */ color: rgb(47, 85, 180);
/* oklch */ color: oklch(47.7% 0.157 264.7);
Tailwind
colors: {
  custom: {
    50: '#7a84cb',
    500: '#2f55b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f55b4;
$custom-light: #7a84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55b4",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 222.857,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.15722,
    "h": 264.7
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#2F55B4
secondary
#C7B078
accent
#B546E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55B4

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

Preview Lab → · Contrast checker → · Palette generator →

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