#2A2B60#2A2B60

#2A2B60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.092 H 279.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2A2B60
RGBrgb(42, 43, 96)
HSLhsl(239, 39%, 27%)
HSVhsv(239, 56%, 38%)
CMYKcmyk(56.3%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.30, 16.42, -31.81)
CIE-LCHlch(20.30, 35.80, 297.31°)
OKLaboklab(31.94% 0.0144 -0.0908)
OKLCHoklch(31.94% 0.092 279)
XYZxyz(3.9294, 3.0643, 11.4485)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B60 #605F2A
analogous
#2A4660 #2A2B60 #442A60
triadic
#2A2B60 #602A2B #2B602A
tetradic
#2A2B60 #602A46 #605F2A #2A6044
square
#2A2B60 #602A46 #605F2A #2A6044
split-complementary
#2A2B60 #60442A #46602A
monochromatic
#090A15 #171835 #2A2B60 #3D3E8B #5153B3

Accessibility & contrast

On white

13.02
#2A2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B60
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B60#FFFFFF#000000##FFFFFF
##2A2B601.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#092F5F
Tritanopia (blue-blind)
#133741
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2b60;
/* rgb */ color: rgb(42, 43, 96);
/* oklch */ color: oklch(31.9% 0.092 279.0);
Tailwind
colors: {
  custom: {
    50: '#68648d',
    500: '#2a2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b60;
$custom-light: #68648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b60",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 238.889,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31941,
    "c": 0.09195,
    "h": 279
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#2A2B60
secondary
#929153
accent
#CD59CF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #2A2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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