#2A264F#2A264F

#2A264F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.073 H 285.5°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2A264F
RGBrgb(42, 38, 79)
HSLhsl(246, 35%, 23%)
HSVhsv(246, 52%, 31%)
CMYKcmyk(46.8%, 51.9%, 0%, 69%)
CIE-LABlab(17.66, 13.96, -24.70)
CIE-LCHlch(17.66, 28.37, 299.48°)
OKLaboklab(29.57% 0.0194 -0.0699)
OKLCHoklch(29.57% 0.073 285.5)
XYZxyz(3.0588, 2.4429, 7.7060)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A264F #4B4F26
analogous
#26364F #2A264F #3E264F
triadic
#2A264F #4F2A26 #264F2A
tetradic
#2A264F #4F2636 #4B4F26 #264F3E
square
#2A264F #4F2636 #4B4F26 #264F3E
split-complementary
#2A264F #4F3E26 #364F26
monochromatic
#0B0A15 #141226 #2A264F #403A78 #564EA2

Accessibility & contrast

On white

14.11
#2A264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A264F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A264F#FFFFFF#000000##FFFFFF
##2A264F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#1F2E36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a264f;
/* rgb */ color: rgb(42, 38, 79);
/* oklch */ color: oklch(29.6% 0.073 285.5);
Tailwind
colors: {
  custom: {
    50: '#666080',
    500: '#2a264f',
    950: '#000000',
  },
}
SCSS
$custom: #2a264f;
$custom-light: #666080;
$custom-dark: #000000;
JSON
{
  "hex": "#2a264f",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 245.854,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.07259,
    "h": 285.5
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#2A264F
secondary
#7D824F
accent
#CB5DC0
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A264F

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

Preview Lab → · Contrast checker → · Palette generator →

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