#2F55AA#2F55AA

#2F55AA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.143 H 263.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2F55AA
RGBrgb(47, 85, 170)
HSLhsl(221, 57%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(72.4%, 50%, 0%, 33.3%)
CIE-LABlab(37.85, 16.44, -49.61)
CIE-LCHlch(37.85, 52.26, 288.34°)
OKLaboklab(46.99% -0.0158 -0.1424)
OKLCHoklch(46.99% 0.143 263.7)
XYZxyz(11.6739, 10.0024, 39.3378)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55AA #AA842F
analogous
#2F93AA #2F55AA #462FAA
triadic
#2F55AA #AA2F55 #55AA2F
tetradic
#2F55AA #AA2F93 #AA842F #2FAA46
square
#2F55AA #AA2F93 #AA842F #2FAA46
split-complementary
#2F55AA #AA462F #93AA2F
monochromatic
#14254A #223D7A #2F55AA #4972CD #7997DA

Accessibility & contrast

On white

7.00
#2F55AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2F55AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55AA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55AA#FFFFFF#000000##FFFFFF
##2F55AA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f55aa;
/* rgb */ color: rgb(47, 85, 170);
/* oklch */ color: oklch(47.0% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#7884c4',
    500: '#2f55aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f55aa;
$custom-light: #7884c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55aa",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 221.463,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.14332,
    "h": 263.7
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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