#2A294D#2A294D

#2A294D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.064 H 283.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#2A294D
RGBrgb(42, 41, 77)
HSLhsl(242, 31%, 23%)
HSVhsv(242, 47%, 30%)
CMYKcmyk(45.5%, 46.8%, 0%, 69.8%)
CIE-LABlab(18.43, 11.14, -22.12)
CIE-LCHlch(18.43, 24.77, 296.73°)
OKLaboklab(30.11% 0.0145 -0.0624)
OKLCHoklch(30.11% 0.064 283.1)
XYZxyz(3.0870, 2.6138, 7.3616)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A294D #4C4D29
analogous
#293A4D #2A294D #3C294D
triadic
#2A294D #4D2A29 #294D2A
tetradic
#2A294D #4D293A #4C4D29 #294D3C
square
#2A294D #4D293A #4C4D29 #294D3C
split-complementary
#2A294D #4D3C29 #3A4D29
monochromatic
#0B0B14 #141425 #2A294D #403E75 #56549D

Accessibility & contrast

On white

13.79
#2A294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A294D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A294D#FFFFFF#000000##FFFFFF
##2A294D1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#203037
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a294d;
/* rgb */ color: rgb(42, 41, 77);
/* oklch */ color: oklch(30.1% 0.064 283.1);
Tailwind
colors: {
  custom: {
    50: '#65627f',
    500: '#2a294d',
    950: '#000000',
  },
}
SCSS
$custom: #2a294d;
$custom-light: #65627f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a294d",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 241.667,
    "s": 30.508,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.06408,
    "h": 283.1
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#2A294D
secondary
#7E7F52
accent
#C761C4
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2A294D

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

Preview Lab → · Contrast checker → · Palette generator →

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