#2A2C90#2A2C90

#2A2C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.160 H 274.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2A2C90
RGBrgb(42, 44, 144)
HSLhsl(239, 55%, 36%)
HSVhsv(239, 71%, 56%)
CMYKcmyk(70.8%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.66, 33.20, -55.31)
CIE-LCHlch(24.66, 64.51, 300.97°)
OKLaboklab(36.43% 0.0117 -0.1598)
OKLCHoklch(36.43% 0.16 274.2)
XYZxyz(6.8879, 4.3066, 26.8484)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C90 #908E2A
analogous
#2A5F90 #2A2C90 #5B2A90
triadic
#2A2C90 #902A2C #2C902A
tetradic
#2A2C90 #902A5F #908E2A #2A905B
square
#2A2C90 #902A5F #908E2A #2A905B
split-complementary
#2A2C90 #905B2A #5F902A
monochromatic
#0E0F31 #1C1E61 #2A2C90 #383ABF #6365D1

Accessibility & contrast

On white

11.28
#2A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C90
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C90#FFFFFF#000000##FFFFFF
##2A2C901.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2c90;
/* rgb */ color: rgb(42, 44, 144);
/* oklch */ color: oklch(36.4% 0.160 274.2);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c90;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c90",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 238.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.16023,
    "h": 274.2
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2A2C90
secondary
#B7B65E
accent
#DB4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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