#2A2963#2A2963

#2A2963 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.100 H 279.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2A2963
RGBrgb(42, 41, 99)
HSLhsl(241, 41%, 27%)
HSVhsv(241, 59%, 39%)
CMYKcmyk(57.6%, 58.6%, 0%, 61.2%)
CIE-LABlab(19.96, 18.91, -34.33)
CIE-LCHlch(19.96, 39.20, 298.85°)
OKLaboklab(31.76% 0.0171 -0.0982)
OKLCHoklch(31.76% 0.1 279.9)
XYZxyz(3.9992, 2.9787, 12.1662)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2963 #626329
analogous
#294563 #2A2963 #472963
triadic
#2A2963 #632A29 #29632A
tetradic
#2A2963 #632945 #626329 #296347
square
#2A2963 #632945 #626329 #296347
split-complementary
#2A2963 #634729 #456329
monochromatic
#090916 #181738 #2A2963 #3C3B8E #5250B6

Accessibility & contrast

On white

13.16
#2A2963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A2963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2963
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2963#FFFFFF#000000##FFFFFF
##2A29631.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043265
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#103641
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2963;
/* rgb */ color: rgb(42, 41, 99);
/* oklch */ color: oklch(31.8% 0.100 279.9);
Tailwind
colors: {
  custom: {
    50: '#696290',
    500: '#2a2963',
    950: '#000000',
  },
}
SCSS
$custom: #2a2963;
$custom-light: #696290;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2963",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 99
  },
  "hsl": {
    "h": 241.034,
    "s": 41.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.09971,
    "h": 279.9
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#2A2963
secondary
#949652
accent
#D157CF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2A2963

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

Preview Lab → · Contrast checker → · Palette generator →

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