#2C4A90#2C4A90

#2C4A90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.121 H 264.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4A90
RGBrgb(44, 74, 144)
HSLhsl(222, 53%, 37%)
HSVhsv(222, 69%, 56%)
CMYKcmyk(69.4%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.80, 13.42, -42.08)
CIE-LCHlch(32.80, 44.17, 287.69°)
OKLaboklab(42.53% -0.0118 -0.1205)
OKLCHoklch(42.53% 0.121 264.4)
XYZxyz(8.5198, 7.4458, 27.3683)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A90 #90722C
analogous
#2C7C90 #2C4A90 #402C90
triadic
#2C4A90 #902C4A #4A902C
tetradic
#2C4A90 #902C7C #90722C #2C9040
square
#2C4A90 #902C7C #90722C #2C9040
split-complementary
#2C4A90 #90402C #7C902C
monochromatic
#0F1A32 #1E3261 #2C4A90 #3A62BF #6686D0

Accessibility & contrast

On white

8.44
#2C4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C4A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A90
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A90#FFFFFF#000000##FFFFFF
##2C4A901.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#0F498F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4a90;
/* rgb */ color: rgb(44, 74, 144);
/* oklch */ color: oklch(42.5% 0.121 264.4);
Tailwind
colors: {
  custom: {
    50: '#717cb1',
    500: '#2c4a90',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a90;
$custom-light: #717cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a90",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 222,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.12113,
    "h": 264.4
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#2C4A90
secondary
#B79D61
accent
#B14BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4A90

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

Preview Lab → · Contrast checker → · Palette generator →

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