#2A4C90#2A4C90

#2A4C90 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.119 H 262.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2A4C90
RGBrgb(42, 76, 144)
HSLhsl(220, 55%, 36%)
HSVhsv(220, 71%, 56%)
CMYKcmyk(70.8%, 47.2%, 0%, 43.5%)
CIE-LABlab(33.29, 11.75, -41.29)
CIE-LCHlch(33.29, 42.93, 285.88°)
OKLaboklab(42.89% -0.0155 -0.1182)
OKLCHoklch(42.89% 0.119 262.5)
XYZxyz(8.5715, 7.6739, 27.4096)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C90 #906E2A
analogous
#2A7F90 #2A4C90 #3B2A90
triadic
#2A4C90 #902A4C #4C902A
tetradic
#2A4C90 #902A7F #906E2A #2A903B
square
#2A4C90 #902A7F #906E2A #2A903B
split-complementary
#2A4C90 #903B2A #7F902A
monochromatic
#0E1A31 #1C3361 #2A4C90 #3865BF #6388D1

Accessibility & contrast

On white

8.28
#2A4C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A4C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C90
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C90#FFFFFF#000000##FFFFFF
##2A4C901.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#144A8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4c90;
/* rgb */ color: rgb(42, 76, 144);
/* oklch */ color: oklch(42.9% 0.119 262.5);
Tailwind
colors: {
  custom: {
    50: '#707db1',
    500: '#2a4c90',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c90;
$custom-light: #707db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c90",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 220,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.11926,
    "h": 262.5
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#2A4C90
secondary
#B79A5E
accent
#AD4ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4C90

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

Preview Lab → · Contrast checker → · Palette generator →

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