#2C4F83#2C4F83

#2C4F83 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.8% C 0.096 H 258.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4F83
RGBrgb(44, 79, 131)
HSLhsl(216, 50%, 34%)
HSVhsv(216, 66%, 51%)
CMYKcmyk(66.4%, 39.7%, 0%, 48.6%)
CIE-LABlab(33.49, 5.17, -33.00)
CIE-LCHlch(33.49, 33.40, 278.90°)
OKLaboklab(42.8% -0.0197 -0.0938)
OKLCHoklch(42.8% 0.096 258.2)
XYZxyz(7.9300, 7.7654, 22.5493)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F83 #83602C
analogous
#2C7B83 #2C4F83 #352C83
triadic
#2C4F83 #832C4F #4F832C
tetradic
#2C4F83 #832C7B #83602C #2C8335
square
#2C4F83 #832C7B #83602C #2C8335
split-complementary
#2C4F83 #83352C #7B832C
monochromatic
#0D1827 #1D3355 #2C4F83 #3B6BB1 #608ACA

Accessibility & contrast

On white

8.22
#2C4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F83
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F83#FFFFFF#000000##FFFFFF
##2C4F831.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4f83;
/* rgb */ color: rgb(44, 79, 131);
/* oklch */ color: oklch(42.8% 0.096 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f80a7',
    500: '#2c4f83',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f83;
$custom-light: #6f80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f83",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 215.862,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.09585,
    "h": 258.2
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#2C4F83
secondary
#B08E5B
accent
#A14FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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