#2A44A4#2A44A4

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

Color values

HEX#2A44A4
RGBrgb(42, 68, 164)
HSLhsl(227, 59%, 40%)
HSVhsv(227, 74%, 64%)
CMYKcmyk(74.4%, 58.5%, 0%, 35.7%)
CIE-LABlab(32.49, 24.80, -54.70)
CIE-LCHlch(32.49, 60.06, 294.39°)
OKLaboklab(42.74% -0.0066 -0.1578)
OKLCHoklch(42.74% 0.158 267.6)
XYZxyz(9.7205, 7.3058, 36.0126)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A44A4 #A48A2A
analogous
#2A81A4 #2A44A4 #4D2AA4
triadic
#2A44A4 #A42A44 #44A42A
tetradic
#2A44A4 #A42A81 #A48A2A #2AA44D
square
#2A44A4 #A42A81 #A48A2A #2AA44D
split-complementary
#2A44A4 #A44D2A #81A42A
monochromatic
#111C43 #1E3073 #2A44A4 #3E5CCD #6E85DA

Accessibility & contrast

On white

8.53
#2A44A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A44A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A44A4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A44A4#FFFFFF#000000##FFFFFF
##2A44A41.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a44a4;
/* rgb */ color: rgb(42, 68, 164);
/* oklch */ color: oklch(42.7% 0.158 267.6);
Tailwind
colors: {
  custom: {
    50: '#7577c0',
    500: '#2a44a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a44a4;
$custom-light: #7577c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a44a4",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 164
  },
  "hsl": {
    "h": 227.213,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.15796,
    "h": 267.6
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#2A44A4
secondary
#C1AE69
accent
#C145E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A44A4

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

Preview Lab → · Contrast checker → · Palette generator →

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