#2C4284#2C4284

#2C4284 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.114 H 267.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4284
RGBrgb(44, 66, 132)
HSLhsl(225, 50%, 35%)
HSVhsv(225, 67%, 52%)
CMYKcmyk(66.7%, 50%, 0%, 48.2%)
CIE-LABlab(29.66, 14.28, -39.74)
CIE-LCHlch(29.66, 42.23, 289.76°)
OKLaboklab(39.87% -0.0055 -0.1138)
OKLCHoklch(39.87% 0.114 267.2)
XYZxyz(7.1503, 6.0972, 22.6254)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4284 #846E2C
analogous
#2C6E84 #2C4284 #422C84
triadic
#2C4284 #842C42 #42842C
tetradic
#2C4284 #842C6E #846E2C #2C8442
square
#2C4284 #842C6E #846E2C #2C8442
split-complementary
#2C4284 #84422C #6E842C
monochromatic
#0D1428 #1D2B56 #2C4284 #3B59B2 #607BCA

Accessibility & contrast

On white

9.46
#2C4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4284
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4284#FFFFFF#000000##FFFFFF
##2C42841.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#0C4283
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4284;
/* rgb */ color: rgb(44, 66, 132);
/* oklch */ color: oklch(39.9% 0.114 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f76a8',
    500: '#2c4284',
    950: '#000000',
  },
}
SCSS
$custom: #2c4284;
$custom-light: #6f76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4284",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.11393,
    "h": 267.2
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#2C4284
secondary
#B09B5C
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4284

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

Preview Lab → · Contrast checker → · Palette generator →

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