#2C4297#2C4297

#2C4297 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.142 H 268.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2C4297
RGBrgb(44, 66, 151)
HSLhsl(228, 55%, 38%)
HSVhsv(228, 71%, 59%)
CMYKcmyk(70.9%, 56.3%, 0%, 40.8%)
CIE-LABlab(31.03, 21.49, -49.21)
CIE-LCHlch(31.03, 53.69, 293.59°)
OKLaboklab(41.35% -0.0037 -0.1416)
OKLCHoklch(41.35% 0.142 268.5)
XYZxyz(8.5709, 6.6654, 30.1070)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4297 #97812C
analogous
#2C7797 #2C4297 #4C2C97
triadic
#2C4297 #972C42 #42972C
tetradic
#2C4297 #972C77 #97812C #2C974C
square
#2C4297 #972C77 #97812C #2C974C
split-complementary
#2C4297 #974C2C #77972C
monochromatic
#101938 #1E2D68 #2C4297 #3A57C6 #6A80D4

Accessibility & contrast

On white

9.00
#2C4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4297
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4297#FFFFFF#000000##FFFFFF
##2C42971.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4297;
/* rgb */ color: rgb(44, 66, 151);
/* oklch */ color: oklch(41.4% 0.142 268.5);
Tailwind
colors: {
  custom: {
    50: '#7376b6',
    500: '#2c4297',
    950: '#000000',
  },
}
SCSS
$custom: #2c4297;
$custom-light: #7376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4297",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 227.664,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.14169,
    "h": 268.5
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#2C4297
secondary
#BAA965
accent
#C04ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4297

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

Preview Lab → · Contrast checker → · Palette generator →

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