#2F559F#2F559F

#2F559F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.128 H 262.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2F559F
RGBrgb(47, 85, 159)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 70%, 62%)
CMYKcmyk(70.4%, 46.5%, 0%, 37.6%)
CIE-LABlab(37.12, 12.28, -44.21)
CIE-LCHlch(37.12, 45.89, 285.52°)
OKLaboklab(46.2% -0.0174 -0.1266)
OKLCHoklch(46.2% 0.128 262.2)
XYZxyz(10.6766, 9.6034, 34.0851)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F559F #9F792F
analogous
#2F8D9F #2F559F #412F9F
triadic
#2F559F #9F2F55 #559F2F
tetradic
#2F559F #9F2F8D #9F792F #2F9F41
square
#2F559F #9F2F8D #9F792F #2F9F41
split-complementary
#2F559F #9F412F #8D9F2F
monochromatic
#132241 #213C70 #2F559F #4470C8 #7394D6

Accessibility & contrast

On white

7.19
#2F559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F559F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F559F#FFFFFF#000000##FFFFFF
##2F559F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#19539D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f559f;
/* rgb */ color: rgb(47, 85, 159);
/* oklch */ color: oklch(46.2% 0.128 262.2);
Tailwind
colors: {
  custom: {
    50: '#7584bc',
    500: '#2f559f',
    950: '#000000',
  },
}
SCSS
$custom: #2f559f;
$custom-light: #7584bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f559f",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 219.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.12777,
    "h": 262.2
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#2F559F
secondary
#BDA26D
accent
#AC4ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F559F

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

Preview Lab → · Contrast checker → · Palette generator →

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