#2A3050#2A3050

#2A3050 is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.0% C 0.058 H 274.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2A3050
RGBrgb(42, 48, 80)
HSLhsl(231, 31%, 24%)
HSVhsv(231, 48%, 31%)
CMYKcmyk(47.5%, 40%, 0%, 68.6%)
CIE-LABlab(20.77, 7.20, -20.44)
CIE-LCHlch(20.77, 21.67, 289.41°)
OKLaboklab(31.96% 0.0046 -0.0575)
OKLCHoklch(31.96% 0.058 274.6)
XYZxyz(3.4593, 3.1852, 8.0204)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3050 #504A2A
analogous
#2A4350 #2A3050 #372A50
triadic
#2A3050 #502A30 #30502A
tetradic
#2A3050 #502A43 #504A2A #2A5037
square
#2A3050 #502A43 #504A2A #2A5037
split-complementary
#2A3050 #50372A #43502A
monochromatic
#0B0C14 #151828 #2A3050 #3F4878 #5460A0

Accessibility & contrast

On white

12.83
#2A3050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2A3050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3050
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3050#FFFFFF#000000##FFFFFF
##2A30501.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253451
Deuteranopia (green-blind)
#22314F
Tritanopia (blue-blind)
#1D363C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3050;
/* rgb */ color: rgb(42, 48, 80);
/* oklch */ color: oklch(32.0% 0.058 274.6);
Tailwind
colors: {
  custom: {
    50: '#666881',
    500: '#2a3050',
    950: '#000000',
  },
}
SCSS
$custom: #2a3050;
$custom-light: #666881;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3050",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 80
  },
  "hsl": {
    "h": 230.526,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31964,
    "c": 0.05767,
    "h": 274.6
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#2A3050
secondary
#827B54
accent
#B760C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2A3050

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

Preview Lab → · Contrast checker → · Palette generator →

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