#2C3D82#2C3D82

#2C3D82 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.118 H 269.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2C3D82
RGBrgb(44, 61, 130)
HSLhsl(228, 49%, 34%)
HSVhsv(228, 66%, 51%)
CMYKcmyk(66.2%, 53.1%, 0%, 49%)
CIE-LABlab(28.07, 16.94, -41.05)
CIE-LCHlch(28.07, 44.41, 292.43°)
OKLaboklab(38.62% -0.0006 -0.1177)
OKLCHoklch(38.62% 0.118 269.7)
XYZxyz(6.7353, 5.4841, 21.8184)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D82 #82712C
analogous
#2C6882 #2C3D82 #462C82
triadic
#2C3D82 #822C3D #3D822C
tetradic
#2C3D82 #822C68 #82712C #2C8246
square
#2C3D82 #822C68 #82712C #2C8246
split-complementary
#2C3D82 #82462C #68822C
monochromatic
#0D1227 #1D2854 #2C3D82 #3B52B0 #5F74C9

Accessibility & contrast

On white

10.01
#2C3D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C3D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D82
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D82#FFFFFF#000000##FFFFFF
##2C3D821.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3d82;
/* rgb */ color: rgb(44, 61, 130);
/* oklch */ color: oklch(38.6% 0.118 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f72a7',
    500: '#2c3d82',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d82;
$custom-light: #6f72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d82",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 228.14,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38624,
    "c": 0.11772,
    "h": 269.7
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#2C3D82
secondary
#AF9E5B
accent
#BE4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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