#2F4083#2F4083

#2F4083 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.114 H 269.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2F4083
RGBrgb(47, 64, 131)
HSLhsl(228, 47%, 35%)
HSVhsv(228, 64%, 51%)
CMYKcmyk(64.1%, 51.1%, 0%, 48.6%)
CIE-LABlab(29.18, 15.84, -39.87)
CIE-LCHlch(29.18, 42.90, 291.66°)
OKLaboklab(39.54% -0.0004 -0.1141)
OKLCHoklch(39.54% 0.114 269.8)
XYZxyz(7.1010, 5.9092, 22.2347)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4083 #83722F
analogous
#2F6A83 #2F4083 #482F83
triadic
#2F4083 #832F40 #40832F
tetradic
#2F4083 #832F6A #83722F #2F8348
square
#2F4083 #832F6A #83722F #2F8348
split-complementary
#2F4083 #83482F #6A832F
monochromatic
#0F1429 #1F2A56 #2F4083 #3F56B0 #6579C8

Accessibility & contrast

On white

9.62
#2F4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2F4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4083
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4083#FFFFFF#000000##FFFFFF
##2F40831.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#094182
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4083;
/* rgb */ color: rgb(47, 64, 131);
/* oklch */ color: oklch(39.5% 0.114 269.8);
Tailwind
colors: {
  custom: {
    50: '#7074a7',
    500: '#2f4083',
    950: '#000000',
  },
}
SCSS
$custom: #2f4083;
$custom-light: #7074a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4083",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 227.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.11415,
    "h": 269.8
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#2F4083
secondary
#AF9F5F
accent
#BC51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4083

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

Preview Lab → · Contrast checker → · Palette generator →

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