#2C4295#2C4295

#2C4295 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.139 H 268.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2C4295
RGBrgb(44, 66, 149)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(70.5%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.88, 20.73, -48.23)
CIE-LCHlch(30.88, 52.50, 293.26°)
OKLaboklab(41.19% -0.0038 -0.1388)
OKLCHoklch(41.19% 0.139 268.4)
XYZxyz(8.4099, 6.6010, 29.2589)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4295 #957F2C
analogous
#2C7695 #2C4295 #4B2C95
triadic
#2C4295 #952C42 #42952C
tetradic
#2C4295 #952C76 #957F2C #2C954B
square
#2C4295 #952C76 #957F2C #2C954B
split-complementary
#2C4295 #954B2C #76952C
monochromatic
#101837 #1E2D66 #2C4295 #3A57C4 #697FD3

Accessibility & contrast

On white

9.05
#2C4295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C4295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4295
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4295#FFFFFF#000000##FFFFFF
##2C42951.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4295;
/* rgb */ color: rgb(44, 66, 149);
/* oklch */ color: oklch(41.2% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2c4295',
    950: '#000000',
  },
}
SCSS
$custom: #2c4295;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4295",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 227.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.13883,
    "h": 268.4
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4295

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

Preview Lab → · Contrast checker → · Palette generator →

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