#2C4092#2C4092

#2C4092 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.137 H 269.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2C4092
RGBrgb(44, 64, 146)
HSLhsl(228, 54%, 37%)
HSVhsv(228, 70%, 57%)
CMYKcmyk(69.9%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.10, 20.95, -47.66)
CIE-LCHlch(30.10, 52.06, 293.73°)
OKLaboklab(40.53% -0.0022 -0.1371)
OKLCHoklch(40.53% 0.137 269.1)
XYZxyz(8.0586, 6.2768, 27.9754)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4092 #927E2C
analogous
#2C7392 #2C4092 #4B2C92
triadic
#2C4092 #922C40 #40922C
tetradic
#2C4092 #922C73 #927E2C #2C924B
square
#2C4092 #922C73 #927E2C #2C924B
split-complementary
#2C4092 #924B2C #73922C
monochromatic
#101734 #1E2B63 #2C4092 #3A55C1 #677CD1

Accessibility & contrast

On white

9.31
#2C4092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C4092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4092
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4092#FFFFFF#000000##FFFFFF
##2C40921.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4092;
/* rgb */ color: rgb(44, 64, 146);
/* oklch */ color: oklch(40.5% 0.137 269.1);
Tailwind
colors: {
  custom: {
    50: '#7274b3',
    500: '#2c4092',
    950: '#000000',
  },
}
SCSS
$custom: #2c4092;
$custom-light: #7274b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4092",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 228.235,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.13715,
    "h": 269.1
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#2C4092
secondary
#B8A762
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4092

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

Preview Lab → · Contrast checker → · Palette generator →

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