#2A355D#2A355D

#2A355D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.072 H 270.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A355D
RGBrgb(42, 53, 93)
HSLhsl(227, 38%, 26%)
HSVhsv(227, 55%, 36%)
CMYKcmyk(54.8%, 43%, 0%, 63.5%)
CIE-LABlab(23.10, 8.29, -25.38)
CIE-LCHlch(23.10, 26.70, 288.10°)
OKLaboklab(34% 0.0008 -0.0718)
OKLCHoklch(34% 0.072 270.6)
XYZxyz(4.2031, 3.8285, 10.8713)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A355D #5D522A
analogous
#2A4F5D #2A355D #392A5D
triadic
#2A355D #5D2A35 #355D2A
tetradic
#2A355D #5D2A4F #5D522A #2A5D39
square
#2A355D #5D2A4F #5D522A #2A5D39
split-complementary
#2A355D #5D392A #4F5D2A
monochromatic
#0A0C15 #171D33 #2A355D #3D4D87 #5166B0

Accessibility & contrast

On white

11.89
#2A355D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A355D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A355D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A355D#FFFFFF#000000##FFFFFF
##2A355D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#143E44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a355d;
/* rgb */ color: rgb(42, 53, 93);
/* oklch */ color: oklch(34.0% 0.072 270.6);
Tailwind
colors: {
  custom: {
    50: '#676c8b',
    500: '#2a355d',
    950: '#000000',
  },
}
SCSS
$custom: #2a355d;
$custom-light: #676c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a355d",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 93
  },
  "hsl": {
    "h": 227.059,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34002,
    "c": 0.07184,
    "h": 270.6
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#2A355D
secondary
#8F8253
accent
#B55ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A355D

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

Preview Lab → · Contrast checker → · Palette generator →

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