#2A294B#2A294B

#2A294B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.061 H 283.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#2A294B
RGBrgb(42, 41, 75)
HSLhsl(242, 29%, 23%)
HSVhsv(242, 45%, 29%)
CMYKcmyk(44%, 45.3%, 0%, 70.6%)
CIE-LABlab(18.30, 10.46, -20.96)
CIE-LCHlch(18.30, 23.43, 296.52°)
OKLaboklab(29.98% 0.0141 -0.059)
OKLCHoklch(29.98% 0.061 283.4)
XYZxyz(3.0174, 2.5860, 6.9954)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A294B #4A4B29
analogous
#29394B #2A294B #3B294B
triadic
#2A294B #4B2A29 #294B2A
tetradic
#2A294B #4B2939 #4A4B29 #294B3B
square
#2A294B #4B2939 #4A4B29 #294B3B
split-complementary
#2A294B #4B3B29 #394B29
monochromatic
#0B0B14 #141323 #2A294B #403F73 #56549A

Accessibility & contrast

On white

13.84
#2A294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A294B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A294B#FFFFFF#000000##FFFFFF
##2A294B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4C
Deuteranopia (green-blind)
#1C2C4A
Tritanopia (blue-blind)
#203036
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a294b;
/* rgb */ color: rgb(42, 41, 75);
/* oklch */ color: oklch(30.0% 0.061 283.4);
Tailwind
colors: {
  custom: {
    50: '#65627d',
    500: '#2a294b',
    950: '#000000',
  },
}
SCSS
$custom: #2a294b;
$custom-light: #65627d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a294b",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 241.765,
    "s": 29.31,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29977,
    "c": 0.06067,
    "h": 283.4
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#2A294B
secondary
#7C7D53
accent
#C662C3
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #2A294B

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

Preview Lab → · Contrast checker → · Palette generator →

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