#2F559E#2F559E

#2F559E is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.126 H 262.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2F559E
RGBrgb(47, 85, 158)
HSLhsl(219, 54%, 40%)
HSVhsv(219, 70%, 62%)
CMYKcmyk(70.3%, 46.2%, 0%, 38%)
CIE-LABlab(37.06, 11.90, -43.71)
CIE-LCHlch(37.06, 45.31, 285.23°)
OKLaboklab(46.13% -0.0176 -0.1251)
OKLCHoklch(46.13% 0.126 262)
XYZxyz(10.5902, 9.5689, 33.6300)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F559E #9E782F
analogous
#2F8D9E #2F559E #402F9E
triadic
#2F559E #9E2F55 #559E2F
tetradic
#2F559E #9E2F8D #9E782F #2F9E40
square
#2F559E #9E2F8D #9E782F #2F9E40
split-complementary
#2F559E #9E402F #8D9E2F
monochromatic
#132240 #213C6F #2F559E #4370C7 #7294D5

Accessibility & contrast

On white

7.21
#2F559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F559E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F559E#FFFFFF#000000##FFFFFF
##2F559E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#1B529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f559e;
/* rgb */ color: rgb(47, 85, 158);
/* oklch */ color: oklch(46.1% 0.126 262.0);
Tailwind
colors: {
  custom: {
    50: '#7584bb',
    500: '#2f559e',
    950: '#000000',
  },
}
SCSS
$custom: #2f559e;
$custom-light: #7584bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f559e",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 219.459,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46129,
    "c": 0.12635,
    "h": 262
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#2F559E
secondary
#BDA16C
accent
#AB4ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F559E

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

Preview Lab → · Contrast checker → · Palette generator →

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