#2F559C#2F559C

#2F559C is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.123 H 261.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2F559C
RGBrgb(47, 85, 156)
HSLhsl(219, 54%, 40%)
HSVhsv(219, 70%, 61%)
CMYKcmyk(69.9%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.93, 11.15, -42.72)
CIE-LCHlch(36.93, 44.15, 284.63°)
OKLaboklab(45.99% -0.0179 -0.1222)
OKLCHoklch(45.99% 0.123 261.6)
XYZxyz(10.4194, 9.5006, 32.7307)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F559C #9C762F
analogous
#2F8B9C #2F559C #402F9C
triadic
#2F559C #9C2F55 #559C2F
tetradic
#2F559C #9C2F8B #9C762F #2F9C40
square
#2F559C #9C2F8B #9C762F #2F9C40
split-complementary
#2F559C #9C402F #8B9C2F
monochromatic
#13223E #213B6D #2F559C #4270C6 #7194D4

Accessibility & contrast

On white

7.24
#2F559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2F559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F559C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F559C#FFFFFF#000000##FFFFFF
##2F559C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f559c;
/* rgb */ color: rgb(47, 85, 156);
/* oklch */ color: oklch(46.0% 0.123 261.6);
Tailwind
colors: {
  custom: {
    50: '#7584ba',
    500: '#2f559c',
    950: '#000000',
  },
}
SCSS
$custom: #2f559c;
$custom-light: #7584ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f559c",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 219.083,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.12349,
    "h": 261.6
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#2F559C
secondary
#BCA06B
accent
#AA4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F559C

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

Preview Lab → · Contrast checker → · Palette generator →

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