#2C4197#2C4197

#2C4197 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 268.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2C4197
RGBrgb(44, 65, 151)
HSLhsl(228, 55%, 38%)
HSVhsv(228, 71%, 59%)
CMYKcmyk(70.9%, 57%, 0%, 40.8%)
CIE-LABlab(30.76, 22.16, -49.65)
CIE-LCHlch(30.76, 54.37, 294.06°)
OKLaboklab(41.15% -0.0028 -0.143)
OKLCHoklch(41.15% 0.143 268.9)
XYZxyz(8.5130, 6.5496, 30.0877)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4197 #97822C
analogous
#2C7697 #2C4197 #4C2C97
triadic
#2C4197 #972C41 #41972C
tetradic
#2C4197 #972C76 #97822C #2C974C
square
#2C4197 #972C76 #97822C #2C974C
split-complementary
#2C4197 #974C2C #76972C
monochromatic
#101838 #1E2D68 #2C4197 #3A56C6 #6A7FD4

Accessibility & contrast

On white

9.09
#2C4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C4197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4197
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4197#FFFFFF#000000##FFFFFF
##2C41971.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4197;
/* rgb */ color: rgb(44, 65, 151);
/* oklch */ color: oklch(41.1% 0.143 268.9);
Tailwind
colors: {
  custom: {
    50: '#7375b6',
    500: '#2c4197',
    950: '#000000',
  },
}
SCSS
$custom: #2c4197;
$custom-light: #7375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4197",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 228.224,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.14299,
    "h": 268.9
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4197

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

Preview Lab → · Contrast checker → · Palette generator →

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