#2A356F#2A356F

#2A356F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.101 H 272.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2A356F
RGBrgb(42, 53, 111)
HSLhsl(230, 45%, 30%)
HSVhsv(230, 62%, 44%)
CMYKcmyk(62.2%, 52.3%, 0%, 56.5%)
CIE-LABlab(24.28, 14.94, -35.16)
CIE-LCHlch(24.28, 38.20, 293.02°)
OKLaboklab(35.28% 0.0039 -0.1005)
OKLCHoklch(35.28% 0.101 272.2)
XYZxyz(5.0962, 4.1857, 15.5752)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A356F #6F642A
analogous
#2A576F #2A356F #422A6F
triadic
#2A356F #6F2A35 #356F2A
tetradic
#2A356F #6F2A57 #6F642A #2A6F42
square
#2A356F #6F2A57 #6F642A #2A6F42
split-complementary
#2A356F #6F422A #576F2A
monochromatic
#080B16 #192043 #2A356F #3B4A9B #5566BF

Accessibility & contrast

On white

11.43
#2A356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A356F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A356F#FFFFFF#000000##FFFFFF
##2A356F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a356f;
/* rgb */ color: rgb(42, 53, 111);
/* oklch */ color: oklch(35.3% 0.101 272.2);
Tailwind
colors: {
  custom: {
    50: '#6b6c99',
    500: '#2a356f',
    950: '#000000',
  },
}
SCSS
$custom: #2a356f;
$custom-light: #6b6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a356f",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 230.435,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.10061,
    "h": 272.2
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2A356F
secondary
#A19554
accent
#C053D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A356F

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

Preview Lab → · Contrast checker → · Palette generator →

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