#2A3475#2A3475

#2A3475 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.111 H 272.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2A3475
RGBrgb(42, 52, 117)
HSLhsl(232, 47%, 31%)
HSVhsv(232, 64%, 46%)
CMYKcmyk(64.1%, 55.6%, 0%, 54.1%)
CIE-LABlab(24.42, 17.89, -38.75)
CIE-LCHlch(24.42, 42.68, 294.78°)
OKLaboklab(35.54% 0.0055 -0.1111)
OKLCHoklch(35.54% 0.111 272.8)
XYZxyz(5.3927, 4.2321, 17.3589)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3475 #756B2A
analogous
#2A5975 #2A3475 #452A75
triadic
#2A3475 #752A34 #34752A
tetradic
#2A3475 #752A59 #756B2A #2A7545
square
#2A3475 #752A59 #756B2A #2A7545
split-complementary
#2A3475 #75452A #59752A
monochromatic
#0A0C1B #1A2048 #2A3475 #3A48A2 #5765C3

Accessibility & contrast

On white

11.37
#2A3475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A3475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3475
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3475#FFFFFF#000000##FFFFFF
##2A34751.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D77
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3475;
/* rgb */ color: rgb(42, 52, 117);
/* oklch */ color: oklch(35.5% 0.111 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c6b9d',
    500: '#2a3475',
    950: '#000000',
  },
}
SCSS
$custom: #2a3475;
$custom-light: #6c6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3475",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 117
  },
  "hsl": {
    "h": 232,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35536,
    "c": 0.11126,
    "h": 272.8
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#2A3475
secondary
#A79C54
accent
#C551D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3475

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

Preview Lab → · Contrast checker → · Palette generator →

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