#2F559A#2F559A

#2F559A is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.121 H 261.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2F559A
RGBrgb(47, 85, 154)
HSLhsl(219, 53%, 39%)
HSVhsv(219, 69%, 60%)
CMYKcmyk(69.5%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.81, 10.39, -41.71)
CIE-LCHlch(36.81, 42.99, 283.99°)
OKLaboklab(45.85% -0.0183 -0.1192)
OKLCHoklch(45.85% 0.121 261.3)
XYZxyz(10.2514, 9.4334, 31.8462)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F559A #9A742F
analogous
#2F8B9A #2F559A #3F2F9A
triadic
#2F559A #9A2F55 #559A2F
tetradic
#2F559A #9A2F8B #9A742F #2F9A3F
square
#2F559A #9A2F8B #9A742F #2F9A3F
split-complementary
#2F559A #9A3F2F #8B9A2F
monochromatic
#12213C #213B6B #2F559A #4170C5 #7093D3

Accessibility & contrast

On white

7.27
#2F559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F559A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F559A#FFFFFF#000000##FFFFFF
##2F559A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f559a;
/* rgb */ color: rgb(47, 85, 154);
/* oklch */ color: oklch(45.9% 0.121 261.3);
Tailwind
colors: {
  custom: {
    50: '#7484b8',
    500: '#2f559a',
    950: '#000000',
  },
}
SCSS
$custom: #2f559a;
$custom-light: #7484b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f559a",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 218.692,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.12064,
    "h": 261.3
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#2F559A
secondary
#BB9E6A
accent
#A94BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F559A

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

Preview Lab → · Contrast checker → · Palette generator →

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