#2C4492#2C4492

#2C4492 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.132 H 267.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2C4492
RGBrgb(44, 68, 146)
HSLhsl(226, 54%, 37%)
HSVhsv(226, 70%, 57%)
CMYKcmyk(69.9%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.22, 18.24, -45.85)
CIE-LCHlch(31.22, 49.35, 291.69°)
OKLaboklab(41.37% -0.0058 -0.1317)
OKLCHoklch(41.37% 0.132 267.5)
XYZxyz(8.2923, 6.7442, 28.0533)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4492 #927A2C
analogous
#2C7792 #2C4492 #472C92
triadic
#2C4492 #922C44 #44922C
tetradic
#2C4492 #922C77 #927A2C #2C9247
square
#2C4492 #922C77 #927A2C #2C9247
split-complementary
#2C4492 #92472C #77922C
monochromatic
#101834 #1E2E63 #2C4492 #3A5AC1 #6780D1

Accessibility & contrast

On white

8.94
#2C4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4492
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4492#FFFFFF#000000##FFFFFF
##2C44921.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4492;
/* rgb */ color: rgb(44, 68, 146);
/* oklch */ color: oklch(41.4% 0.132 267.5);
Tailwind
colors: {
  custom: {
    50: '#7277b3',
    500: '#2c4492',
    950: '#000000',
  },
}
SCSS
$custom: #2c4492;
$custom-light: #7277b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4492",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 225.882,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.13188,
    "h": 267.5
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#2C4492
secondary
#B8A462
accent
#BB4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4492

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

Preview Lab → · Contrast checker → · Palette generator →

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