#2A448C#2A448C

#2A448C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.124 H 266.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2A448C
RGBrgb(42, 68, 140)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 55%)
CMYKcmyk(70%, 51.4%, 0%, 45.1%)
CIE-LABlab(30.69, 15.62, -43.04)
CIE-LCHlch(30.69, 45.78, 289.95°)
OKLaboklab(40.81% -0.0084 -0.1235)
OKLCHoklch(40.81% 0.124 266.1)
XYZxyz(7.7539, 6.5192, 25.6555)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A448C #8C722A
analogous
#2A758C #2A448C #412A8C
triadic
#2A448C #8C2A44 #448C2A
tetradic
#2A448C #8C2A75 #8C722A #2A8C41
square
#2A448C #8C2A75 #8C722A #2A8C41
split-complementary
#2A448C #8C412A #758C2A
monochromatic
#0E162E #1C2D5D #2A448C #385BBB #617ED0

Accessibility & contrast

On white

9.11
#2A448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A448C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A448C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A448C#FFFFFF#000000##FFFFFF
##2A448C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a448c;
/* rgb */ color: rgb(42, 68, 140);
/* oklch */ color: oklch(40.8% 0.124 266.1);
Tailwind
colors: {
  custom: {
    50: '#7077ae',
    500: '#2a448c',
    950: '#000000',
  },
}
SCSS
$custom: #2a448c;
$custom-light: #7077ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a448c",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 224.082,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.12379,
    "h": 266.1
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#2A448C
secondary
#B59E5C
accent
#B64BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A448C

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

Preview Lab → · Contrast checker → · Palette generator →

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