#2A449A#2A449A

#2A449A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.144 H 267.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2A449A
RGBrgb(42, 68, 154)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(72.7%, 55.8%, 0%, 39.6%)
CIE-LABlab(31.71, 20.99, -49.93)
CIE-LCHlch(31.71, 54.16, 292.80°)
OKLaboklab(41.91% -0.0071 -0.1438)
OKLCHoklch(41.91% 0.144 267.2)
XYZxyz(8.8527, 6.9587, 31.4422)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A449A #9A802A
analogous
#2A7C9A #2A449A #482A9A
triadic
#2A449A #9A2A44 #449A2A
tetradic
#2A449A #9A2A7C #9A802A #2A9A48
square
#2A449A #9A2A7C #9A802A #2A9A48
split-complementary
#2A449A #9A482A #7C9A2A
monochromatic
#101A3A #1D2F6A #2A449A #385AC9 #6882D6

Accessibility & contrast

On white

8.78
#2A449A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A449A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A449A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A449A#FFFFFF#000000##FFFFFF
##2A449A1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a449a;
/* rgb */ color: rgb(42, 68, 154);
/* oklch */ color: oklch(41.9% 0.144 267.2);
Tailwind
colors: {
  custom: {
    50: '#7377b8',
    500: '#2a449a',
    950: '#000000',
  },
}
SCSS
$custom: #2a449a;
$custom-light: #7377b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a449a",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 154
  },
  "hsl": {
    "h": 226.071,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.14397,
    "h": 267.2
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#2A449A
secondary
#BCA863
accent
#BD47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A449A

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

Preview Lab → · Contrast checker → · Palette generator →

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