#2F4C83#2F4C83

#2F4C83 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.098 H 262.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4C83
RGBrgb(47, 76, 131)
HSLhsl(219, 47%, 35%)
HSVhsv(219, 64%, 51%)
CMYKcmyk(64.1%, 42%, 0%, 48.6%)
CIE-LABlab(32.73, 7.74, -34.21)
CIE-LCHlch(32.73, 35.07, 282.75°)
OKLaboklab(42.25% -0.0136 -0.0973)
OKLCHoklch(42.25% 0.098 262.1)
XYZxyz(7.8520, 7.4112, 22.4850)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C83 #83662F
analogous
#2F7683 #2F4C83 #3C2F83
triadic
#2F4C83 #832F4C #4C832F
tetradic
#2F4C83 #832F76 #83662F #2F833C
square
#2F4C83 #832F76 #83662F #2F833C
split-complementary
#2F4C83 #833C2F #76832F
monochromatic
#0F1829 #1F3256 #2F4C83 #3F66B0 #6587C8

Accessibility & contrast

On white

8.46
#2F4C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F4C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C83
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C83#FFFFFF#000000##FFFFFF
##2F4C831.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#284982
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4c83;
/* rgb */ color: rgb(47, 76, 131);
/* oklch */ color: oklch(42.3% 0.098 262.1);
Tailwind
colors: {
  custom: {
    50: '#707da7',
    500: '#2f4c83',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c83;
$custom-light: #707da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c83",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 131
  },
  "hsl": {
    "h": 219.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.09827,
    "h": 262.1
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#2F4C83
secondary
#AF935F
accent
#A951D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4C83

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

Preview Lab → · Contrast checker → · Palette generator →

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