#2C4783#2C4783

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

Color values

HEX#2C4783
RGBrgb(44, 71, 131)
HSLhsl(221, 50%, 34%)
HSVhsv(221, 66%, 51%)
CMYKcmyk(66.4%, 45.8%, 0%, 48.6%)
CIE-LABlab(31.07, 10.50, -36.86)
CIE-LCHlch(31.07, 38.33, 285.91°)
OKLaboklab(40.93% -0.0109 -0.1052)
OKLCHoklch(40.93% 0.106 264.1)
XYZxyz(7.3873, 6.6800, 22.3684)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4783 #83682C
analogous
#2C7383 #2C4783 #3D2C83
triadic
#2C4783 #832C47 #47832C
tetradic
#2C4783 #832C73 #83682C #2C833D
square
#2C4783 #832C73 #83682C #2C833D
split-complementary
#2C4783 #833D2C #73832C
monochromatic
#0D1527 #1D2E55 #2C4783 #3B60B1 #6081CA

Accessibility & contrast

On white

8.99
#2C4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4783
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4783#FFFFFF#000000##FFFFFF
##2C47831.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4783;
/* rgb */ color: rgb(44, 71, 131);
/* oklch */ color: oklch(40.9% 0.106 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f79a7',
    500: '#2c4783',
    950: '#000000',
  },
}
SCSS
$custom: #2c4783;
$custom-light: #6f79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4783",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 221.379,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.10582,
    "h": 264.1
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#2C4783
secondary
#B0955B
accent
#AE4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C4783

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

Preview Lab → · Contrast checker → · Palette generator →

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