#2F538C#2F538C

#2F538C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.103 H 259.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2F538C
RGBrgb(47, 83, 140)
HSLhsl(217, 50%, 37%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(66.4%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.37, 6.46, -35.53)
CIE-LCHlch(35.37, 36.11, 280.31°)
OKLaboklab(44.47% -0.0192 -0.1011)
OKLCHoklch(44.47% 0.103 259.2)
XYZxyz(8.9975, 8.6834, 26.0078)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F538C #8C682F
analogous
#2F828C #2F538C #392F8C
triadic
#2F538C #8C2F53 #538C2F
tetradic
#2F538C #8C2F82 #8C682F #2F8C39
square
#2F538C #8C2F82 #8C682F #2F8C39
split-complementary
#2F538C #8C392F #828C2F
monochromatic
#101D30 #20385E #2F538C #3E6EBA #698FCD

Accessibility & contrast

On white

7.67
#2F538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F538C
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F538C#FFFFFF#000000##FFFFFF
##2F538C1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f538c;
/* rgb */ color: rgb(47, 83, 140);
/* oklch */ color: oklch(44.5% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#7283ae',
    500: '#2f538c',
    950: '#000000',
  },
}
SCSS
$custom: #2f538c;
$custom-light: #7283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f538c",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 216.774,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.10292,
    "h": 259.2
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#2F538C
secondary
#B49463
accent
#A44FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F538C

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

Preview Lab → · Contrast checker → · Palette generator →

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