#2A3670#2A3670

#2A3670 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.101 H 271.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2A3670
RGBrgb(42, 54, 112)
HSLhsl(230, 45%, 30%)
HSVhsv(230, 63%, 44%)
CMYKcmyk(62.5%, 51.8%, 0%, 56.1%)
CIE-LABlab(24.64, 14.61, -35.21)
CIE-LCHlch(24.64, 38.12, 292.54°)
OKLaboklab(35.58% 0.0028 -0.1007)
OKLCHoklch(35.58% 0.101 271.6)
XYZxyz(5.1977, 4.3000, 15.8822)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3670 #70642A
analogous
#2A5970 #2A3670 #412A70
triadic
#2A3670 #702A36 #36702A
tetradic
#2A3670 #702A59 #70642A #2A7041
square
#2A3670 #702A59 #70642A #2A7041
split-complementary
#2A3670 #70412A #59702A
monochromatic
#090B17 #192143 #2A3670 #3B4B9D #5567BF

Accessibility & contrast

On white

11.29
#2A3670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A3670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3670
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3670#FFFFFF#000000##FFFFFF
##2A36701.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#0B386F
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3670;
/* rgb */ color: rgb(42, 54, 112);
/* oklch */ color: oklch(35.6% 0.101 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c99',
    500: '#2a3670',
    950: '#000000',
  },
}
SCSS
$custom: #2a3670;
$custom-light: #6b6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3670",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 229.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35582,
    "c": 0.10073,
    "h": 271.6
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2A3670
secondary
#A29554
accent
#BF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3670

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

Preview Lab → · Contrast checker → · Palette generator →

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