#2C4296#2C4296

#2C4296 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.140 H 268.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C4296
RGBrgb(44, 66, 150)
HSLhsl(228, 55%, 38%)
HSVhsv(228, 71%, 59%)
CMYKcmyk(70.7%, 56%, 0%, 41.2%)
CIE-LABlab(30.96, 21.11, -48.72)
CIE-LCHlch(30.96, 53.10, 293.43°)
OKLaboklab(41.27% -0.0037 -0.1402)
OKLCHoklch(41.27% 0.14 268.5)
XYZxyz(8.4900, 6.6331, 29.6811)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4296 #96802C
analogous
#2C7796 #2C4296 #4B2C96
triadic
#2C4296 #962C42 #42962C
tetradic
#2C4296 #962C77 #96802C #2C964B
square
#2C4296 #962C77 #96802C #2C964B
split-complementary
#2C4296 #964B2C #77962C
monochromatic
#101837 #1E2D67 #2C4296 #3A57C5 #697FD3

Accessibility & contrast

On white

9.03
#2C4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4296
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4296#FFFFFF#000000##FFFFFF
##2C42961.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4296;
/* rgb */ color: rgb(44, 66, 150);
/* oklch */ color: oklch(41.3% 0.140 268.5);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2c4296',
    950: '#000000',
  },
}
SCSS
$custom: #2c4296;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4296",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 227.547,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.14026,
    "h": 268.5
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#2C4296
secondary
#BAA864
accent
#BF4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4296

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

Preview Lab → · Contrast checker → · Palette generator →

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