#2C4290#2C4290

#2C4290 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.132 H 268.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4290
RGBrgb(44, 66, 144)
HSLhsl(227, 53%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(69.4%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.51, 18.83, -45.78)
CIE-LCHlch(30.51, 49.50, 292.36°)
OKLaboklab(40.79% -0.0042 -0.1315)
OKLCHoklch(40.79% 0.132 268.2)
XYZxyz(8.0192, 6.4447, 27.2015)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4290 #907A2C
analogous
#2C7490 #2C4290 #482C90
triadic
#2C4290 #902C42 #42902C
tetradic
#2C4290 #902C74 #907A2C #2C9048
square
#2C4290 #902C74 #907A2C #2C9048
split-complementary
#2C4290 #90482C #74902C
monochromatic
#0F1732 #1E2D61 #2C4290 #3A57BF #667DD0

Accessibility & contrast

On white

9.17
#2C4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4290
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4290#FFFFFF#000000##FFFFFF
##2C42901.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4290;
/* rgb */ color: rgb(44, 66, 144);
/* oklch */ color: oklch(40.8% 0.132 268.2);
Tailwind
colors: {
  custom: {
    50: '#7276b1',
    500: '#2c4290',
    950: '#000000',
  },
}
SCSS
$custom: #2c4290;
$custom-light: #7276b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4290",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 226.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.13162,
    "h": 268.2
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#2C4290
secondary
#B7A461
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4290

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

Preview Lab → · Contrast checker → · Palette generator →

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