#2F4883#2F4883

#2F4883 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.103 H 264.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F4883
RGBrgb(47, 72, 131)
HSLhsl(222, 47%, 35%)
HSVhsv(222, 64%, 51%)
CMYKcmyk(64.1%, 45%, 0%, 48.6%)
CIE-LABlab(31.53, 10.41, -36.12)
CIE-LCHlch(31.53, 37.59, 286.09°)
OKLaboklab(41.33% -0.0091 -0.103)
OKLCHoklch(41.33% 0.103 264.9)
XYZxyz(7.5850, 6.8771, 22.3960)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4883 #836A2F
analogous
#2F7283 #2F4883 #402F83
triadic
#2F4883 #832F48 #48832F
tetradic
#2F4883 #832F72 #836A2F #2F8340
square
#2F4883 #832F72 #836A2F #2F8340
split-complementary
#2F4883 #83402F #72832F
monochromatic
#0F1629 #1F2F56 #2F4883 #3F61B0 #6582C8

Accessibility & contrast

On white

8.84
#2F4883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F4883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4883
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4883#FFFFFF#000000##FFFFFF
##2F48831.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#204782
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4883;
/* rgb */ color: rgb(47, 72, 131);
/* oklch */ color: oklch(41.3% 0.103 264.9);
Tailwind
colors: {
  custom: {
    50: '#707aa7',
    500: '#2f4883',
    950: '#000000',
  },
}
SCSS
$custom: #2f4883;
$custom-light: #707aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4883",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 222.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.1034,
    "h": 264.9
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#2F4883
secondary
#AF975F
accent
#AF51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4883

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

Preview Lab → · Contrast checker → · Palette generator →

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