#2A326E#2A326E

#2A326E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.103 H 274.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2A326E
RGBrgb(42, 50, 110)
HSLhsl(233, 45%, 30%)
HSVhsv(233, 62%, 43%)
CMYKcmyk(61.8%, 54.5%, 0%, 56.9%)
CIE-LABlab(23.33, 16.66, -36.03)
CIE-LCHlch(23.33, 39.69, 294.81°)
OKLaboklab(34.55% 0.0072 -0.1031)
OKLCHoklch(34.55% 0.103 274)
XYZxyz(4.9090, 3.8989, 15.2427)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A326E #6E662A
analogous
#2A546E #2A326E #442A6E
triadic
#2A326E #6E2A32 #326E2A
tetradic
#2A326E #6E2A54 #6E662A #2A6E44
square
#2A326E #6E2A54 #6E662A #2A6E44
split-complementary
#2A326E #6E442A #546E2A
monochromatic
#080A16 #191E42 #2A326E #3B469A #5561BE

Accessibility & contrast

On white

11.80
#2A326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A326E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A326E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A326E#FFFFFF#000000##FFFFFF
##2A326E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#01356D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a326e;
/* rgb */ color: rgb(42, 50, 110);
/* oklch */ color: oklch(34.5% 0.103 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b6998',
    500: '#2a326e',
    950: '#000000',
  },
}
SCSS
$custom: #2a326e;
$custom-light: #6b6998;
$custom-dark: #000000;
JSON
{
  "hex": "#2a326e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 232.941,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.1034,
    "h": 274
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#2A326E
secondary
#A09754
accent
#C553D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A326E

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

Preview Lab → · Contrast checker → · Palette generator →

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