#2A4073#2A4073

#2A4073 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.092 H 264.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2A4073
RGBrgb(42, 64, 115)
HSLhsl(222, 46%, 31%)
HSVhsv(222, 63%, 45%)
CMYKcmyk(63.5%, 44.3%, 0%, 54.9%)
CIE-LABlab(27.84, 8.82, -32.01)
CIE-LCHlch(27.84, 33.20, 285.41°)
OKLaboklab(38.09% -0.0082 -0.0911)
OKLCHoklch(38.09% 0.092 264.8)
XYZxyz(5.8817, 5.3963, 16.9480)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4073 #735D2A
analogous
#2A6473 #2A4073 #382A73
triadic
#2A4073 #732A40 #40732A
tetradic
#2A4073 #732A64 #735D2A #2A7338
square
#2A4073 #732A64 #735D2A #2A7338
split-complementary
#2A4073 #73382A #64732A
monochromatic
#090E19 #1A2746 #2A4073 #3A59A0 #5676C1

Accessibility & contrast

On white

10.10
#2A4073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A4073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4073
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4073#FFFFFF#000000##FFFFFF
##2A40731.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4073;
/* rgb */ color: rgb(42, 64, 115);
/* oklch */ color: oklch(38.1% 0.092 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b749b',
    500: '#2a4073',
    950: '#000000',
  },
}
SCSS
$custom: #2a4073;
$custom-light: #6b749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4073",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 221.918,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.09151,
    "h": 264.8
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#2A4073
secondary
#A58C54
accent
#AE52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4073

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

Preview Lab → · Contrast checker → · Palette generator →

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