#2F55AB#2F55AB

#2F55AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.145 H 263.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2F55AB
RGBrgb(47, 85, 171)
HSLhsl(222, 57%, 43%)
HSVhsv(222, 73%, 67%)
CMYKcmyk(72.5%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.91, 16.82, -50.09)
CIE-LCHlch(37.91, 52.84, 288.56°)
OKLaboklab(47.06% -0.0156 -0.1439)
OKLCHoklch(47.06% 0.145 263.8)
XYZxyz(11.7689, 10.0404, 39.8379)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55AB #AB852F
analogous
#2F93AB #2F55AB #472FAB
triadic
#2F55AB #AB2F55 #55AB2F
tetradic
#2F55AB #AB2F93 #AB852F #2FAB47
square
#2F55AB #AB2F93 #AB852F #2FAB47
split-complementary
#2F55AB #AB472F #93AB2F
monochromatic
#15254B #223D7B #2F55AB #4A72CD #7A98DA

Accessibility & contrast

On white

6.98
#2F55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55AB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55AB#FFFFFF#000000##FFFFFF
##2F55AB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f55ab;
/* rgb */ color: rgb(47, 85, 171);
/* oklch */ color: oklch(47.1% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#7884c5',
    500: '#2f55ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f55ab;
$custom-light: #7884c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55ab",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 221.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.14472,
    "h": 263.8
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#2F55AB
secondary
#C3AA73
accent
#B148E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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