#2C3074#2C3074

#2C3074 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.115 H 276.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3074
RGBrgb(44, 48, 116)
HSLhsl(237, 45%, 31%)
HSVhsv(237, 62%, 45%)
CMYKcmyk(62.1%, 58.6%, 0%, 54.5%)
CIE-LABlab(23.37, 20.68, -39.81)
CIE-LCHlch(23.37, 44.86, 297.45°)
OKLaboklab(34.76% 0.0122 -0.1142)
OKLCHoklch(34.76% 0.115 276.1)
XYZxyz(5.2470, 3.9099, 16.9978)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3074 #74702C
analogous
#2C5474 #2C3074 #4C2C74
triadic
#2C3074 #742C30 #30742C
tetradic
#2C3074 #742C54 #74702C #2C744C
square
#2C3074 #742C54 #74702C #2C744C
split-complementary
#2C3074 #744C2C #54742C
monochromatic
#0A0B1B #1B1E48 #2C3074 #3D42A0 #5A60C0

Accessibility & contrast

On white

11.78
#2C3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3074
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3074#FFFFFF#000000##FFFFFF
##2C30741.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3074;
/* rgb */ color: rgb(44, 48, 116);
/* oklch */ color: oklch(34.8% 0.115 276.1);
Tailwind
colors: {
  custom: {
    50: '#6d689d',
    500: '#2c3074',
    950: '#000000',
  },
}
SCSS
$custom: #2c3074;
$custom-light: #6d689d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3074",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 236.667,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.11488,
    "h": 276.1
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#2C3074
secondary
#A6A156
accent
#CD53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3074

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

Preview Lab → · Contrast checker → · Palette generator →

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