#2F559D#2F559D

#2F559D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.125 H 261.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2F559D
RGBrgb(47, 85, 157)
HSLhsl(219, 54%, 40%)
HSVhsv(219, 70%, 62%)
CMYKcmyk(70.1%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.99, 11.52, -43.22)
CIE-LCHlch(36.99, 44.73, 284.93°)
OKLaboklab(46.06% -0.0178 -0.1236)
OKLCHoklch(46.06% 0.125 261.8)
XYZxyz(10.5044, 9.5346, 33.1785)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F559D #9D772F
analogous
#2F8C9D #2F559D #402F9D
triadic
#2F559D #9D2F55 #559D2F
tetradic
#2F559D #9D2F8C #9D772F #2F9D40
square
#2F559D #9D2F8C #9D772F #2F9D40
split-complementary
#2F559D #9D402F #8C9D2F
monochromatic
#13223F #213B6E #2F559D #4370C7 #7294D5

Accessibility & contrast

On white

7.22
#2F559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F559D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F559D#FFFFFF#000000##FFFFFF
##2F559D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#1C529C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f559d;
/* rgb */ color: rgb(47, 85, 157);
/* oklch */ color: oklch(46.1% 0.125 261.8);
Tailwind
colors: {
  custom: {
    50: '#7584ba',
    500: '#2f559d',
    950: '#000000',
  },
}
SCSS
$custom: #2f559d;
$custom-light: #7584ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f559d",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 219.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.12492,
    "h": 261.8
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#2F559D
secondary
#BCA06B
accent
#AB4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F559D

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

Preview Lab → · Contrast checker → · Palette generator →

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