#2A327E#2A327E

#2A327E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.127 H 273.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2A327E
RGBrgb(42, 50, 126)
HSLhsl(234, 50%, 33%)
HSVhsv(234, 67%, 49%)
CMYKcmyk(66.7%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.57, 22.64, -44.21)
CIE-LCHlch(24.57, 49.67, 297.12°)
OKLaboklab(35.87% 0.0079 -0.1272)
OKLCHoklch(35.87% 0.127 273.5)
XYZxyz(5.8601, 4.2793, 20.2518)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A327E #7E762A
analogous
#2A5C7E #2A327E #4C2A7E
triadic
#2A327E #7E2A32 #327E2A
tetradic
#2A327E #7E2A5C #7E762A #2A7E4C
square
#2A327E #7E2A5C #7E762A #2A7E4C
split-complementary
#2A327E #7E4C2A #5C7E2A
monochromatic
#0B0E22 #1B2050 #2A327E #3944AC #5A65C8

Accessibility & contrast

On white

11.31
#2A327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A327E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A327E#FFFFFF#000000##FFFFFF
##2A327E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a327e;
/* rgb */ color: rgb(42, 50, 126);
/* oklch */ color: oklch(35.9% 0.127 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e69a4',
    500: '#2a327e',
    950: '#000000',
  },
}
SCSS
$custom: #2a327e;
$custom-light: #6e69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a327e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 234.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.12745,
    "h": 273.5
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#2A327E
secondary
#AEA556
accent
#CC4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A327E

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

Preview Lab → · Contrast checker → · Palette generator →

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