#2F568D#2F568D

#2F568D is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.2% C 0.101 H 257.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2F568D
RGBrgb(47, 86, 141)
HSLhsl(215, 50%, 37%)
HSVhsv(215, 67%, 55%)
CMYKcmyk(66.7%, 39%, 0%, 44.7%)
CIE-LABlab(36.33, 4.88, -34.60)
CIE-LCHlch(36.33, 34.95, 278.03°)
OKLaboklab(45.24% -0.0222 -0.0984)
OKLCHoklch(45.24% 0.101 257.3)
XYZxyz(9.3061, 9.1821, 26.4760)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F568D #8D662F
analogous
#2F858D #2F568D #372F8D
triadic
#2F568D #8D2F56 #568D2F
tetradic
#2F568D #8D2F85 #8D662F #2F8D37
square
#2F568D #8D2F85 #8D662F #2F8D37
split-complementary
#2F568D #8D372F #858D2F
monochromatic
#101E31 #203A5F #2F568D #3E72BB #6993CD

Accessibility & contrast

On white

7.40
#2F568D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F568D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F568D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F568D#FFFFFF#000000##FFFFFF
##2F568D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f568d;
/* rgb */ color: rgb(47, 86, 141);
/* oklch */ color: oklch(45.2% 0.101 257.3);
Tailwind
colors: {
  custom: {
    50: '#7285ae',
    500: '#2f568d',
    950: '#000000',
  },
}
SCSS
$custom: #2f568d;
$custom-light: #7285ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f568d",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 141
  },
  "hsl": {
    "h": 215.106,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.10084,
    "h": 257.3
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#2F568D
secondary
#B49364
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F568D

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

Preview Lab → · Contrast checker → · Palette generator →

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