#2A439B#2A439B

#2A439B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.147 H 267.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2A439B
RGBrgb(42, 67, 155)
HSLhsl(227, 57%, 39%)
HSVhsv(227, 73%, 61%)
CMYKcmyk(72.9%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.51, 22.05, -50.86)
CIE-LCHlch(31.51, 55.43, 293.43°)
OKLaboklab(41.78% -0.0062 -0.1465)
OKLCHoklch(41.78% 0.147 267.6)
XYZxyz(8.8763, 6.8722, 31.8627)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A439B #9B822A
analogous
#2A7B9B #2A439B #492A9B
triadic
#2A439B #9B2A43 #439B2A
tetradic
#2A439B #9B2A7B #9B822A #2A9B49
square
#2A439B #9B2A7B #9B822A #2A9B49
split-complementary
#2A439B #9B492A #7B9B2A
monochromatic
#10193B #1D2E6B #2A439B #3959C9 #6981D6

Accessibility & contrast

On white

8.84
#2A439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A439B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A439B#FFFFFF#000000##FFFFFF
##2A439B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a439b;
/* rgb */ color: rgb(42, 67, 155);
/* oklch */ color: oklch(41.8% 0.147 267.6);
Tailwind
colors: {
  custom: {
    50: '#7376b9',
    500: '#2a439b',
    950: '#000000',
  },
}
SCSS
$custom: #2a439b;
$custom-light: #7376b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a439b",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 226.726,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.14667,
    "h": 267.6
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#2A439B
secondary
#BDA964
accent
#BF47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A439B

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

Preview Lab → · Contrast checker → · Palette generator →

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