#2C3B79#2C3B79

#2C3B79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.107 H 270.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2C3B79
RGBrgb(44, 59, 121)
HSLhsl(228, 47%, 32%)
HSVhsv(228, 64%, 47%)
CMYKcmyk(63.6%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.86, 14.93, -37.36)
CIE-LCHlch(26.86, 40.23, 291.79°)
OKLaboklab(37.5% 0.0006 -0.1069)
OKLCHoklch(37.5% 0.107 270.3)
XYZxyz(6.0527, 5.0434, 18.7400)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B79 #796A2C
analogous
#2C6179 #2C3B79 #442C79
triadic
#2C3B79 #792C3B #3B792C
tetradic
#2C3B79 #792C61 #796A2C #2C7944
square
#2C3B79 #792C61 #796A2C #2C7944
split-complementary
#2C3B79 #79442C #61792C
monochromatic
#0B0F1F #1C254C #2C3B79 #3C51A6 #5C70C4

Accessibility & contrast

On white

10.45
#2C3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B79
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B79#FFFFFF#000000##FFFFFF
##2C3B791.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#0B3C78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3b79;
/* rgb */ color: rgb(44, 59, 121);
/* oklch */ color: oklch(37.5% 0.107 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d70a0',
    500: '#2c3b79',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b79;
$custom-light: #6d70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b79",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 228.312,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.375,
    "c": 0.10688,
    "h": 270.3
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#2C3B79
secondary
#AA9A57
accent
#BC51D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2C3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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