#2F4683#2F4683

#2F4683 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.106 H 266.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2F4683
RGBrgb(47, 70, 131)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 51%)
CMYKcmyk(64.1%, 46.6%, 0%, 48.6%)
CIE-LABlab(30.93, 11.76, -37.07)
CIE-LCHlch(30.93, 38.89, 287.61°)
OKLaboklab(40.87% -0.0069 -0.1058)
OKLCHoklch(40.87% 0.106 266.3)
XYZxyz(7.4578, 6.6227, 22.3536)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4683 #836C2F
analogous
#2F7083 #2F4683 #422F83
triadic
#2F4683 #832F46 #46832F
tetradic
#2F4683 #832F70 #836C2F #2F8342
square
#2F4683 #832F70 #836C2F #2F8342
split-complementary
#2F4683 #83422F #70832F
monochromatic
#0F1629 #1F2E56 #2F4683 #3F5EB0 #6580C8

Accessibility & contrast

On white

9.03
#2F4683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F4683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4683
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4683#FFFFFF#000000##FFFFFF
##2F46831.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4683;
/* rgb */ color: rgb(47, 70, 131);
/* oklch */ color: oklch(40.9% 0.106 266.3);
Tailwind
colors: {
  custom: {
    50: '#7079a7',
    500: '#2f4683',
    950: '#000000',
  },
}
SCSS
$custom: #2f4683;
$custom-light: #7079a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4683",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 131
  },
  "hsl": {
    "h": 223.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.10603,
    "h": 266.3
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#2F4683
secondary
#AF995F
accent
#B251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4683

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

Preview Lab → · Contrast checker → · Palette generator →

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