#2A355E#2A355E

#2A355E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.073 H 270.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A355E
RGBrgb(42, 53, 94)
HSLhsl(227, 38%, 27%)
HSVhsv(227, 55%, 37%)
CMYKcmyk(55.3%, 43.6%, 0%, 63.1%)
CIE-LABlab(23.16, 8.66, -25.94)
CIE-LCHlch(23.16, 27.34, 288.46°)
OKLaboklab(34.07% 0.001 -0.0735)
OKLCHoklch(34.07% 0.073 270.8)
XYZxyz(4.2477, 3.8463, 11.1061)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A355E #5E532A
analogous
#2A4F5E #2A355E #392A5E
triadic
#2A355E #5E2A35 #355E2A
tetradic
#2A355E #5E2A4F #5E532A #2A5E39
square
#2A355E #5E2A4F #5E532A #2A5E39
split-complementary
#2A355E #5E392A #4F5E2A
monochromatic
#090C15 #171D34 #2A355E #3D4D88 #5165B1

Accessibility & contrast

On white

11.87
#2A355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A355E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A355E#FFFFFF#000000##FFFFFF
##2A355E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#133E45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a355e;
/* rgb */ color: rgb(42, 53, 94);
/* oklch */ color: oklch(34.1% 0.073 270.8);
Tailwind
colors: {
  custom: {
    50: '#686c8c',
    500: '#2a355e',
    950: '#000000',
  },
}
SCSS
$custom: #2a355e;
$custom-light: #686c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a355e",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 227.308,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.07348,
    "h": 270.8
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#2A355E
secondary
#908353
accent
#B65ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A355E

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

Preview Lab → · Contrast checker → · Palette generator →

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