#2A2467#2A2467

#2A2467 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.1% C 0.113 H 281.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2A2467
RGBrgb(42, 36, 103)
HSLhsl(245, 48%, 27%)
HSVhsv(245, 65%, 40%)
CMYKcmyk(59.2%, 65%, 0%, 59.6%)
CIE-LABlab(18.94, 23.79, -38.60)
CIE-LCHlch(18.94, 45.34, 301.64°)
OKLaboklab(31.11% 0.0228 -0.1108)
OKLCHoklch(31.11% 0.113 281.6)
XYZxyz(4.0331, 2.7330, 13.1443)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2467 #616724
analogous
#244067 #2A2467 #4C2467
triadic
#2A2467 #672A24 #24672A
tetradic
#2A2467 #672440 #616724 #24674C
square
#2A2467 #672440 #616724 #24674C
split-complementary
#2A2467 #674C24 #406724
monochromatic
#090817 #18143A #2A2467 #3C3494 #5247BF

Accessibility & contrast

On white

13.58
#2A2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2467
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2467#FFFFFF#000000##FFFFFF
##2A24671.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#0B3441
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2467;
/* rgb */ color: rgb(42, 36, 103);
/* oklch */ color: oklch(31.1% 0.113 281.6);
Tailwind
colors: {
  custom: {
    50: '#6a5f93',
    500: '#2a2467',
    950: '#000000',
  },
}
SCSS
$custom: #2a2467;
$custom-light: #6a5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2467",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 245.373,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31108,
    "c": 0.11315,
    "h": 281.6
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#2A2467
secondary
#939A4C
accent
#D850CC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2A2467

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

Preview Lab → · Contrast checker → · Palette generator →

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