#2C4895#2C4895

#2C4895 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.131 H 266.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2C4895
RGBrgb(44, 72, 149)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(70.5%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.57, 16.67, -45.51)
CIE-LCHlch(32.57, 48.46, 290.12°)
OKLaboklab(42.47% -0.0092 -0.1307)
OKLCHoklch(42.47% 0.131 266)
XYZxyz(8.7790, 7.3393, 29.3819)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4895 #95792C
analogous
#2C7C95 #2C4895 #442C95
triadic
#2C4895 #952C48 #48952C
tetradic
#2C4895 #952C7C #95792C #2C9544
square
#2C4895 #952C7C #95792C #2C9544
split-complementary
#2C4895 #95442C #7C952C
monochromatic
#101A37 #1E3166 #2C4895 #3A5FC4 #6985D3

Accessibility & contrast

On white

8.51
#2C4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2C4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4895
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4895#FFFFFF#000000##FFFFFF
##2C48951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4895;
/* rgb */ color: rgb(44, 72, 149);
/* oklch */ color: oklch(42.5% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#727ab5',
    500: '#2c4895',
    950: '#000000',
  },
}
SCSS
$custom: #2c4895;
$custom-light: #727ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4895",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 224,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.13099,
    "h": 266
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#2C4895
secondary
#B9A264
accent
#B64ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4895

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

Preview Lab → · Contrast checker → · Palette generator →

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