#2A4E90#2A4E90

#2A4E90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.117 H 261.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A4E90
RGBrgb(42, 78, 144)
HSLhsl(219, 55%, 36%)
HSVhsv(219, 71%, 56%)
CMYKcmyk(70.8%, 45.8%, 0%, 43.5%)
CIE-LABlab(33.89, 10.41, -40.34)
CIE-LCHlch(33.89, 41.66, 284.47°)
OKLaboklab(43.34% -0.0175 -0.1154)
OKLCHoklch(43.34% 0.117 261.4)
XYZxyz(8.7115, 7.9537, 27.4563)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E90 #906C2A
analogous
#2A8190 #2A4E90 #392A90
triadic
#2A4E90 #902A4E #4E902A
tetradic
#2A4E90 #902A81 #906C2A #2A9039
square
#2A4E90 #902A81 #906C2A #2A9039
split-complementary
#2A4E90 #90392A #81902A
monochromatic
#0E1B31 #1C3461 #2A4E90 #3868BF #638AD1

Accessibility & contrast

On white

8.10
#2A4E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E90
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E90#FFFFFF#000000##FFFFFF
##2A4E901.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5593
Deuteranopia (green-blind)
#1A4B8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4e90;
/* rgb */ color: rgb(42, 78, 144);
/* oklch */ color: oklch(43.3% 0.117 261.4);
Tailwind
colors: {
  custom: {
    50: '#707fb1',
    500: '#2a4e90',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e90;
$custom-light: #707fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e90",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 218.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.11673,
    "h": 261.4
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#2A4E90
secondary
#B7985E
accent
#AA4ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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