#2F4B83#2F4B83

#2F4B83 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.100 H 262.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2F4B83
RGBrgb(47, 75, 131)
HSLhsl(220, 47%, 35%)
HSVhsv(220, 64%, 51%)
CMYKcmyk(64.1%, 42.7%, 0%, 48.6%)
CIE-LABlab(32.42, 8.41, -34.69)
CIE-LCHlch(32.42, 35.69, 283.62°)
OKLaboklab(42.02% -0.0125 -0.0987)
OKLCHoklch(42.02% 0.1 262.8)
XYZxyz(7.7837, 7.2745, 22.4623)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B83 #83672F
analogous
#2F7583 #2F4B83 #3D2F83
triadic
#2F4B83 #832F4B #4B832F
tetradic
#2F4B83 #832F75 #83672F #2F833D
square
#2F4B83 #832F75 #83672F #2F833D
split-complementary
#2F4B83 #833D2F #75832F
monochromatic
#0F1729 #1F3156 #2F4B83 #3F65B0 #6586C8

Accessibility & contrast

On white

8.55
#2F4B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F4B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B83
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B83#FFFFFF#000000##FFFFFF
##2F4B831.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325085
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4b83;
/* rgb */ color: rgb(47, 75, 131);
/* oklch */ color: oklch(42.0% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#707ca7',
    500: '#2f4b83',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b83;
$custom-light: #707ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b83",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 131
  },
  "hsl": {
    "h": 220,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.09953,
    "h": 262.8
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#2F4B83
secondary
#AF945F
accent
#AA51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4B83

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

Preview Lab → · Contrast checker → · Palette generator →

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