#2A356C#2A356C

#2A356C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.096 H 272.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2A356C
RGBrgb(42, 53, 108)
HSLhsl(230, 44%, 29%)
HSVhsv(230, 61%, 42%)
CMYKcmyk(61.1%, 50.9%, 0%, 57.6%)
CIE-LABlab(24.07, 13.81, -33.57)
CIE-LCHlch(24.07, 36.30, 292.37°)
OKLaboklab(35.06% 0.0035 -0.0959)
OKLCHoklch(35.06% 0.096 272.1)
XYZxyz(4.9338, 4.1208, 14.7198)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A356C #6C612A
analogous
#2A566C #2A356C #402A6C
triadic
#2A356C #6C2A35 #356C2A
tetradic
#2A356C #6C2A56 #6C612A #2A6C40
square
#2A356C #6C2A56 #6C612A #2A6C40
split-complementary
#2A356C #6C402A #566C2A
monochromatic
#090B16 #191F40 #2A356C #3B4B98 #5465BC

Accessibility & contrast

On white

11.51
#2A356C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A356C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A356C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A356C#FFFFFF#000000##FFFFFF
##2A356C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#0F366B
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a356c;
/* rgb */ color: rgb(42, 53, 108);
/* oklch */ color: oklch(35.1% 0.096 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a6c96',
    500: '#2a356c',
    950: '#000000',
  },
}
SCSS
$custom: #2a356c;
$custom-light: #6a6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a356c",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 108
  },
  "hsl": {
    "h": 230,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.09592,
    "h": 272.1
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#2A356C
secondary
#9E9254
accent
#BE54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A356C

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

Preview Lab → · Contrast checker → · Palette generator →

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