#2F558E#2F558E

#2F558E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.103 H 258.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2F558E
RGBrgb(47, 85, 142)
HSLhsl(216, 50%, 37%)
HSVhsv(216, 67%, 56%)
CMYKcmyk(66.9%, 40.1%, 0%, 44.3%)
CIE-LABlab(36.09, 5.90, -35.60)
CIE-LCHlch(36.09, 36.09, 279.41°)
OKLaboklab(45.07% -0.0209 -0.1013)
OKLCHoklch(45.07% 0.103 258.3)
XYZxyz(9.3015, 9.0534, 26.8432)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F558E #8E682F
analogous
#2F858E #2F558E #382F8E
triadic
#2F558E #8E2F55 #558E2F
tetradic
#2F558E #8E2F85 #8E682F #2F8E38
square
#2F558E #8E2F85 #8E682F #2F8E38
split-complementary
#2F558E #8E382F #858E2F
monochromatic
#111E32 #203960 #2F558E #3E71BC #6A92CE

Accessibility & contrast

On white

7.47
#2F558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F558E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F558E#FFFFFF#000000##FFFFFF
##2F558E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f558e;
/* rgb */ color: rgb(47, 85, 142);
/* oklch */ color: oklch(45.1% 0.103 258.3);
Tailwind
colors: {
  custom: {
    50: '#7284af',
    500: '#2f558e',
    950: '#000000',
  },
}
SCSS
$custom: #2f558e;
$custom-light: #7284af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f558e",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 216,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.10344,
    "h": 258.3
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#2F558E
secondary
#B59464
accent
#A24EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F558E

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

Preview Lab → · Contrast checker → · Palette generator →

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