#2C4095#2C4095

#2C4095 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.141 H 269.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2C4095
RGBrgb(44, 64, 149)
HSLhsl(229, 54%, 38%)
HSVhsv(229, 70%, 58%)
CMYKcmyk(70.5%, 57%, 0%, 41.6%)
CIE-LABlab(30.33, 22.08, -49.12)
CIE-LCHlch(30.33, 53.86, 294.21°)
OKLaboklab(40.78% -0.002 -0.1414)
OKLCHoklch(40.78% 0.141 269.2)
XYZxyz(8.2951, 6.3714, 29.2206)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4095 #95812C
analogous
#2C7595 #2C4095 #4C2C95
triadic
#2C4095 #952C40 #40952C
tetradic
#2C4095 #952C75 #95812C #2C954C
square
#2C4095 #952C75 #95812C #2C954C
split-complementary
#2C4095 #954C2C #75952C
monochromatic
#101737 #1E2C66 #2C4095 #3A54C4 #697DD3

Accessibility & contrast

On white

9.23
#2C4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4095
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4095#FFFFFF#000000##FFFFFF
##2C40951.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4095;
/* rgb */ color: rgb(44, 64, 149);
/* oklch */ color: oklch(40.8% 0.141 269.2);
Tailwind
colors: {
  custom: {
    50: '#7374b5',
    500: '#2c4095',
    950: '#000000',
  },
}
SCSS
$custom: #2c4095;
$custom-light: #7374b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4095",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 228.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.14144,
    "h": 269.2
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#2C4095
secondary
#B9A964
accent
#C24ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4095

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

Preview Lab → · Contrast checker → · Palette generator →

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