#2A44A5#2A44A5

#2A44A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.159 H 267.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A44A5
RGBrgb(42, 68, 165)
HSLhsl(227, 59%, 41%)
HSVhsv(227, 75%, 65%)
CMYKcmyk(74.5%, 58.8%, 0%, 35.3%)
CIE-LABlab(32.57, 25.18, -55.17)
CIE-LCHlch(32.57, 60.65, 294.53°)
OKLaboklab(42.82% -0.0066 -0.1592)
OKLCHoklch(42.82% 0.159 267.6)
XYZxyz(9.8111, 7.3420, 36.4901)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A44A5 #A58B2A
analogous
#2A81A5 #2A44A5 #4D2AA5
triadic
#2A44A5 #A52A44 #44A52A
tetradic
#2A44A5 #A52A81 #A58B2A #2AA54D
square
#2A44A5 #A52A81 #A58B2A #2AA54D
split-complementary
#2A44A5 #A54D2A #81A52A
monochromatic
#111C43 #1E3074 #2A44A5 #3E5DCE #6F86DA

Accessibility & contrast

On white

8.51
#2A44A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A44A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A44A5
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A44A5#FFFFFF#000000##FFFFFF
##2A44A51.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a44a5;
/* rgb */ color: rgb(42, 68, 165);
/* oklch */ color: oklch(42.8% 0.159 267.6);
Tailwind
colors: {
  custom: {
    50: '#7677c0',
    500: '#2a44a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a44a5;
$custom-light: #7677c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a44a5",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 227.317,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.15934,
    "h": 267.6
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#2A44A5
secondary
#C1AF69
accent
#C145E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A44A5

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

Preview Lab → · Contrast checker → · Palette generator →

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