#2C3274#2C3274

#2C3274 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.112 H 275.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2C3274
RGBrgb(44, 50, 116)
HSLhsl(235, 45%, 31%)
HSVhsv(235, 62%, 45%)
CMYKcmyk(62.1%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.93, 19.30, -38.91)
CIE-LCHlch(23.93, 43.44, 296.38°)
OKLaboklab(35.17% 0.01 -0.1116)
OKLCHoklch(35.17% 0.112 275.1)
XYZxyz(5.3307, 4.0772, 17.0257)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3274 #746E2C
analogous
#2C5674 #2C3274 #4A2C74
triadic
#2C3274 #742C32 #32742C
tetradic
#2C3274 #742C56 #746E2C #2C744A
square
#2C3274 #742C56 #746E2C #2C744A
split-complementary
#2C3274 #744A2C #56742C
monochromatic
#0A0C1B #1B1F48 #2C3274 #3D45A0 #5A63C0

Accessibility & contrast

On white

11.57
#2C3274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C3274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3274
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3274#FFFFFF#000000##FFFFFF
##2C32741.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3274;
/* rgb */ color: rgb(44, 50, 116);
/* oklch */ color: oklch(35.2% 0.112 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d699c',
    500: '#2c3274',
    950: '#000000',
  },
}
SCSS
$custom: #2c3274;
$custom-light: #6d699c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3274",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 235,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.11202,
    "h": 275.1
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#2C3274
secondary
#A69F56
accent
#CA53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3274

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

Preview Lab → · Contrast checker → · Palette generator →

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