#2C4190#2C4190

#2C4190 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.133 H 268.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C4190
RGBrgb(44, 65, 144)
HSLhsl(227, 53%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(69.4%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.23, 19.51, -46.23)
CIE-LCHlch(30.23, 50.18, 292.88°)
OKLaboklab(40.58% -0.0032 -0.1329)
OKLCHoklch(40.58% 0.133 268.6)
XYZxyz(7.9613, 6.3289, 27.1822)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4190 #907B2C
analogous
#2C7390 #2C4190 #492C90
triadic
#2C4190 #902C41 #41902C
tetradic
#2C4190 #902C73 #907B2C #2C9049
square
#2C4190 #902C73 #907B2C #2C9049
split-complementary
#2C4190 #90492C #73902C
monochromatic
#0F1732 #1E2C61 #2C4190 #3A56BF #667CD0

Accessibility & contrast

On white

9.27
#2C4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4190
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4190#FFFFFF#000000##FFFFFF
##2C41901.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4190;
/* rgb */ color: rgb(44, 65, 144);
/* oklch */ color: oklch(40.6% 0.133 268.6);
Tailwind
colors: {
  custom: {
    50: '#7275b1',
    500: '#2c4190',
    950: '#000000',
  },
}
SCSS
$custom: #2c4190;
$custom-light: #7275b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4190",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 227.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.13294,
    "h": 268.6
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#2C4190
secondary
#B7A561
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4190

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

Preview Lab → · Contrast checker → · Palette generator →

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