#2A269C#2A269C

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

Color values

HEX#2A269C
RGBrgb(42, 38, 156)
HSLhsl(242, 61%, 38%)
HSVhsv(242, 76%, 61%)
CMYKcmyk(73.1%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.57, 40.98, -62.84)
CIE-LCHlch(24.57, 75.02, 303.11°)
OKLaboklab(36.73% 0.0133 -0.1818)
OKLCHoklch(36.73% 0.182 274.2)
XYZxyz(7.6467, 4.2780, 31.8688)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A269C #989C26
analogous
#265D9C #2A269C #65269C
triadic
#2A269C #9C2A26 #269C2A
tetradic
#2A269C #9C265D #989C26 #269C65
square
#2A269C #9C265D #989C26 #269C65
split-complementary
#2A269C #9C6526 #5D9C26
monochromatic
#100E3A #1D1A6B #2A269C #3732CD #6763D9

Accessibility & contrast

On white

11.32
#2A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A269C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A269C#FFFFFF#000000##FFFFFF
##2A269C1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a269c;
/* rgb */ color: rgb(42, 38, 156);
/* oklch */ color: oklch(36.7% 0.182 274.2);
Tailwind
colors: {
  custom: {
    50: '#7662ba',
    500: '#2a269c',
    950: '#000000',
  },
}
SCSS
$custom: #2a269c;
$custom-light: #7662ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a269c",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 242.034,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.18224,
    "h": 274.2
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#2A269C
secondary
#BBBF5F
accent
#E444DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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