#2A2B63#2A2B63

#2A2B63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.097 H 278.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2A2B63
RGBrgb(42, 43, 99)
HSLhsl(239, 40%, 28%)
HSVhsv(239, 58%, 39%)
CMYKcmyk(57.6%, 56.6%, 0%, 61.2%)
CIE-LABlab(20.52, 17.51, -33.43)
CIE-LCHlch(20.52, 37.74, 297.65°)
OKLaboklab(32.18% 0.0146 -0.0956)
OKLCHoklch(32.18% 0.097 278.7)
XYZxyz(4.0701, 3.1206, 12.1898)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B63 #63622A
analogous
#2A4863 #2A2B63 #452A63
triadic
#2A2B63 #632A2B #2B632A
tetradic
#2A2B63 #632A48 #63622A #2A6345
square
#2A2B63 #632A48 #63622A #2A6345
split-complementary
#2A2B63 #63452A #48632A
monochromatic
#090915 #181838 #2A2B63 #3C3E8E #5254B6

Accessibility & contrast

On white

12.93
#2A2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A2B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B63
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B63#FFFFFF#000000##FFFFFF
##2A2B631.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3465
Deuteranopia (green-blind)
#032F62
Tritanopia (blue-blind)
#0F3842
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2b63;
/* rgb */ color: rgb(42, 43, 99);
/* oklch */ color: oklch(32.2% 0.097 278.7);
Tailwind
colors: {
  custom: {
    50: '#696490',
    500: '#2a2b63',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b63;
$custom-light: #696490;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b63",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 238.947,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32177,
    "c": 0.09667,
    "h": 278.7
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#2A2B63
secondary
#959453
accent
#CE58D0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2A2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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