#2C3079#2C3079

#2C3079 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.122 H 275.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2C3079
RGBrgb(44, 48, 121)
HSLhsl(237, 47%, 32%)
HSVhsv(237, 64%, 47%)
CMYKcmyk(63.6%, 60.3%, 0%, 52.5%)
CIE-LABlab(23.77, 22.51, -42.35)
CIE-LCHlch(23.77, 47.96, 298.00°)
OKLaboklab(35.18% 0.0123 -0.1217)
OKLCHoklch(35.18% 0.122 275.8)
XYZxyz(5.5457, 4.0294, 18.5710)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3079 #79752C
analogous
#2C5779 #2C3079 #4E2C79
triadic
#2C3079 #792C30 #30792C
tetradic
#2C3079 #792C57 #79752C #2C794E
square
#2C3079 #792C57 #79752C #2C794E
split-complementary
#2C3079 #794E2C #57792C
monochromatic
#0B0C1F #1C1E4C #2C3079 #3C42A6 #5C61C4

Accessibility & contrast

On white

11.63
#2C3079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C3079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3079
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3079#FFFFFF#000000##FFFFFF
##2C30791.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3079;
/* rgb */ color: rgb(44, 48, 121);
/* oklch */ color: oklch(35.2% 0.122 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e68a0',
    500: '#2c3079',
    950: '#000000',
  },
}
SCSS
$custom: #2c3079;
$custom-light: #6e68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3079",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 236.883,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.12232,
    "h": 275.8
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#2C3079
secondary
#AAA557
accent
#CF51D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2C3079

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

Preview Lab → · Contrast checker → · Palette generator →

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