#2A2C63#2A2C63

#2A2C63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.095 H 278.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2A2C63
RGBrgb(42, 44, 99)
HSLhsl(238, 40%, 28%)
HSVhsv(238, 58%, 39%)
CMYKcmyk(57.6%, 55.6%, 0%, 61.2%)
CIE-LABlab(20.81, 16.81, -32.97)
CIE-LCHlch(20.81, 37.01, 297.02°)
OKLaboklab(32.39% 0.0134 -0.0942)
OKLCHoklch(32.39% 0.095 278.1)
XYZxyz(4.1069, 3.1942, 12.2021)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C63 #63612A
analogous
#2A4863 #2A2C63 #452A63
triadic
#2A2C63 #632A2C #2C632A
tetradic
#2A2C63 #632A48 #63612A #2A6345
square
#2A2C63 #632A48 #63612A #2A6345
split-complementary
#2A2C63 #63452A #48632A
monochromatic
#090A15 #181938 #2A2C63 #3C3F8E #5255B6

Accessibility & contrast

On white

12.81
#2A2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2A2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C63
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C63#FFFFFF#000000##FFFFFF
##2A2C631.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#063062
Tritanopia (blue-blind)
#0F3843
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2c63;
/* rgb */ color: rgb(42, 44, 99);
/* oklch */ color: oklch(32.4% 0.095 278.1);
Tailwind
colors: {
  custom: {
    50: '#696590',
    500: '#2a2c63',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c63;
$custom-light: #696590;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c63",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 237.895,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32391,
    "c": 0.09515,
    "h": 278.1
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#2A2C63
secondary
#959353
accent
#CC58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2A2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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