#2F538D#2F538D

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

Color values

HEX#2F538D
RGBrgb(47, 83, 141)
HSLhsl(217, 50%, 37%)
HSVhsv(217, 67%, 55%)
CMYKcmyk(66.7%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.43, 6.84, -36.04)
CIE-LCHlch(35.43, 36.69, 280.74°)
OKLaboklab(44.53% -0.019 -0.1026)
OKLCHoklch(44.53% 0.104 259.5)
XYZxyz(9.0716, 8.7131, 26.3979)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F538D #8D692F
analogous
#2F828D #2F538D #3A2F8D
triadic
#2F538D #8D2F53 #538D2F
tetradic
#2F538D #8D2F82 #8D692F #2F8D3A
square
#2F538D #8D2F82 #8D692F #2F8D3A
split-complementary
#2F538D #8D3A2F #828D2F
monochromatic
#101D31 #20385F #2F538D #3E6EBB #6990CD

Accessibility & contrast

On white

7.66
#2F538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F538D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F538D#FFFFFF#000000##FFFFFF
##2F538D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f538d;
/* rgb */ color: rgb(47, 83, 141);
/* oklch */ color: oklch(44.5% 0.104 259.5);
Tailwind
colors: {
  custom: {
    50: '#7283af',
    500: '#2f538d',
    950: '#000000',
  },
}
SCSS
$custom: #2f538d;
$custom-light: #7283af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f538d",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 217.021,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.10436,
    "h": 259.5
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#2F538D
secondary
#B49564
accent
#A44EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F538D

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

Preview Lab → · Contrast checker → · Palette generator →

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