#2F4983#2F4983

#2F4983 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.102 H 264.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2F4983
RGBrgb(47, 73, 131)
HSLhsl(221, 47%, 35%)
HSVhsv(221, 64%, 51%)
CMYKcmyk(64.1%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.82, 9.74, -35.64)
CIE-LCHlch(31.82, 36.95, 285.29°)
OKLaboklab(41.56% -0.0102 -0.1016)
OKLCHoklch(41.56% 0.102 264.3)
XYZxyz(7.6502, 7.0074, 22.4177)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4983 #83692F
analogous
#2F7383 #2F4983 #3F2F83
triadic
#2F4983 #832F49 #49832F
tetradic
#2F4983 #832F73 #83692F #2F833F
square
#2F4983 #832F73 #83692F #2F833F
split-complementary
#2F4983 #833F2F #73832F
monochromatic
#0F1729 #1F3056 #2F4983 #3F62B0 #6583C8

Accessibility & contrast

On white

8.74
#2F4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4983
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4983#FFFFFF#000000##FFFFFF
##2F49831.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F85
Deuteranopia (green-blind)
#224782
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4983;
/* rgb */ color: rgb(47, 73, 131);
/* oklch */ color: oklch(41.6% 0.102 264.3);
Tailwind
colors: {
  custom: {
    50: '#707ba7',
    500: '#2f4983',
    950: '#000000',
  },
}
SCSS
$custom: #2f4983;
$custom-light: #707ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4983",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 221.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.10209,
    "h": 264.3
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#2F4983
secondary
#AF965F
accent
#AD51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4983

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

Preview Lab → · Contrast checker → · Palette generator →

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