#2F55AE#2F55AE

#2F55AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.149 H 264.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F55AE
RGBrgb(47, 85, 174)
HSLhsl(222, 57%, 43%)
HSVhsv(222, 73%, 68%)
CMYKcmyk(73%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.12, 17.96, -51.53)
CIE-LCHlch(38.12, 54.57, 289.21°)
OKLaboklab(47.28% -0.0153 -0.1481)
OKLCHoklch(47.28% 0.149 264.1)
XYZxyz(12.0581, 10.1560, 41.3610)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55AE #AE882F
analogous
#2F94AE #2F55AE #482FAE
triadic
#2F55AE #AE2F55 #55AE2F
tetradic
#2F55AE #AE2F94 #AE882F #2FAE48
square
#2F55AE #AE2F94 #AE882F #2FAE48
split-complementary
#2F55AE #AE482F #94AE2F
monochromatic
#15264E #223D7E #2F55AE #4C73CF #7C98DC

Accessibility & contrast

On white

6.93
#2F55AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F55AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55AE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55AE#FFFFFF#000000##FFFFFF
##2F55AE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f55ae;
/* rgb */ color: rgb(47, 85, 174);
/* oklch */ color: oklch(47.3% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#7884c7',
    500: '#2f55ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f55ae;
$custom-light: #7884c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55ae",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 222.047,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.1489,
    "h": 264.1
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#2F55AE
secondary
#C4AC75
accent
#B347E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55AE

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

Preview Lab → · Contrast checker → · Palette generator →

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