#2C3F7E#2C3F7E

#2C3F7E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.109 H 268.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2C3F7E
RGBrgb(44, 63, 126)
HSLhsl(226, 48%, 33%)
HSVhsv(226, 65%, 49%)
CMYKcmyk(65.1%, 50%, 0%, 50.6%)
CIE-LABlab(28.37, 14.06, -38.07)
CIE-LCHlch(28.37, 40.58, 290.27°)
OKLaboklab(38.76% -0.0031 -0.1089)
OKLCHoklch(38.76% 0.109 268.3)
XYZxyz(6.5808, 5.5963, 20.4680)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F7E #7E6B2C
analogous
#2C687E #2C3F7E #422C7E
triadic
#2C3F7E #7E2C3F #3F7E2C
tetradic
#2C3F7E #7E2C68 #7E6B2C #2C7E42
square
#2C3F7E #7E2C68 #7E6B2C #2C7E42
split-complementary
#2C3F7E #7E422C #687E2C
monochromatic
#0C1223 #1C2851 #2C3F7E #3C56AB #5E76C7

Accessibility & contrast

On white

9.91
#2C3F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C3F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F7E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F7E#FFFFFF#000000##FFFFFF
##2C3F7E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#0E3F7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3f7e;
/* rgb */ color: rgb(44, 63, 126);
/* oklch */ color: oklch(38.8% 0.109 268.3);
Tailwind
colors: {
  custom: {
    50: '#6e73a4',
    500: '#2c3f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f7e;
$custom-light: #6e73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f7e",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 226.098,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.10897,
    "h": 268.3
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#2C3F7E
secondary
#AD9959
accent
#B850D8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C3F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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