#2F4A85#2F4A85

#2F4A85 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.104 H 264.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F4A85
RGBrgb(47, 74, 133)
HSLhsl(221, 48%, 35%)
HSVhsv(221, 65%, 52%)
CMYKcmyk(64.7%, 44.4%, 0%, 47.8%)
CIE-LABlab(32.25, 9.82, -36.21)
CIE-LCHlch(32.25, 37.51, 285.17°)
OKLaboklab(41.92% -0.0109 -0.1032)
OKLCHoklch(41.92% 0.104 264)
XYZxyz(7.8532, 7.1946, 23.1606)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A85 #856A2F
analogous
#2F7585 #2F4A85 #3F2F85
triadic
#2F4A85 #852F4A #4A852F
tetradic
#2F4A85 #852F75 #856A2F #2F853F
square
#2F4A85 #852F75 #856A2F #2F853F
split-complementary
#2F4A85 #853F2F #75852F
monochromatic
#0F182B #1F3158 #2F4A85 #3F63B2 #6685C9

Accessibility & contrast

On white

8.61
#2F4A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F4A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A85
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A85#FFFFFF#000000##FFFFFF
##2F4A851.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4a85;
/* rgb */ color: rgb(47, 74, 133);
/* oklch */ color: oklch(41.9% 0.104 264.0);
Tailwind
colors: {
  custom: {
    50: '#707ca9',
    500: '#2f4a85',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a85;
$custom-light: #707ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a85",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 221.163,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.1038,
    "h": 264
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#2F4A85
secondary
#B09760
accent
#AD50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4A85

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

Preview Lab → · Contrast checker → · Palette generator →

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