#2C4083#2C4083

#2C4083 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.4% C 0.115 H 268.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C4083
RGBrgb(44, 64, 131)
HSLhsl(226, 50%, 34%)
HSVhsv(226, 66%, 51%)
CMYKcmyk(66.4%, 51.1%, 0%, 48.6%)
CIE-LABlab(29.01, 15.27, -40.17)
CIE-LCHlch(29.01, 42.97, 290.81°)
OKLaboklab(39.36% -0.0035 -0.1151)
OKLCHoklch(39.36% 0.115 268.2)
XYZxyz(6.9674, 5.8403, 22.2284)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4083 #836F2C
analogous
#2C6C83 #2C4083 #442C83
triadic
#2C4083 #832C40 #40832C
tetradic
#2C4083 #832C6C #836F2C #2C8344
square
#2C4083 #832C6C #836F2C #2C8344
split-complementary
#2C4083 #83442C #6C832C
monochromatic
#0D1327 #1D2A55 #2C4083 #3B56B1 #6078CA

Accessibility & contrast

On white

9.69
#2C4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4083
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4083#FFFFFF#000000##FFFFFF
##2C40831.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#054182
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4083;
/* rgb */ color: rgb(44, 64, 131);
/* oklch */ color: oklch(39.4% 0.115 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f74a7',
    500: '#2c4083',
    950: '#000000',
  },
}
SCSS
$custom: #2c4083;
$custom-light: #6f74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4083",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 226.207,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39355,
    "c": 0.11513,
    "h": 268.2
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2C4083
secondary
#B09C5B
accent
#B94FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4083

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

Preview Lab → · Contrast checker → · Palette generator →

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