#2A355A#2A355A

#2A355A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.8% C 0.067 H 270.0°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2A355A
RGBrgb(42, 53, 90)
HSLhsl(226, 36%, 26%)
HSVhsv(226, 53%, 35%)
CMYKcmyk(53.3%, 41.1%, 0%, 64.7%)
CIE-LABlab(22.92, 7.22, -23.69)
CIE-LCHlch(22.92, 24.76, 286.94°)
OKLaboklab(33.81% 0 -0.0669)
OKLCHoklch(33.81% 0.067 270)
XYZxyz(4.0728, 3.7764, 10.1852)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A355A #5A4F2A
analogous
#2A4D5A #2A355A #372A5A
triadic
#2A355A #5A2A35 #355A2A
tetradic
#2A355A #5A2A4D #5A4F2A #2A5A37
square
#2A355A #5A2A4D #5A4F2A #2A5A37
split-complementary
#2A355A #5A372A #4D5A2A
monochromatic
#0A0C15 #171C30 #2A355A #3D4E84 #5166AD

Accessibility & contrast

On white

11.96
#2A355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2A355A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A355A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A355A#FFFFFF#000000##FFFFFF
##2A355A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#163D43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a355a;
/* rgb */ color: rgb(42, 53, 90);
/* oklch */ color: oklch(33.8% 0.067 270.0);
Tailwind
colors: {
  custom: {
    50: '#676c89',
    500: '#2a355a',
    950: '#000000',
  },
}
SCSS
$custom: #2a355a;
$custom-light: #676c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2a355a",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 226.25,
    "s": 36.364,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.06691,
    "h": 270
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#2A355A
secondary
#8C7F53
accent
#B25BCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2A355A

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

Preview Lab → · Contrast checker → · Palette generator →

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