#2A439A#2A439A

#2A439A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.145 H 267.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2A439A
RGBrgb(42, 67, 154)
HSLhsl(227, 57%, 38%)
HSVhsv(227, 73%, 60%)
CMYKcmyk(72.7%, 56.5%, 0%, 39.6%)
CIE-LABlab(31.44, 21.66, -50.38)
CIE-LCHlch(31.44, 54.84, 293.27°)
OKLaboklab(41.7% -0.0063 -0.1451)
OKLCHoklch(41.7% 0.145 267.5)
XYZxyz(8.7927, 6.8387, 31.4222)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A439A #9A812A
analogous
#2A7B9A #2A439A #492A9A
triadic
#2A439A #9A2A43 #439A2A
tetradic
#2A439A #9A2A7B #9A812A #2A9A49
square
#2A439A #9A2A7B #9A812A #2A9A49
split-complementary
#2A439A #9A492A #7B9A2A
monochromatic
#10193A #1D2E6A #2A439A #3859C9 #6881D6

Accessibility & contrast

On white

8.87
#2A439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A439A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A439A#FFFFFF#000000##FFFFFF
##2A439A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a439a;
/* rgb */ color: rgb(42, 67, 154);
/* oklch */ color: oklch(41.7% 0.145 267.5);
Tailwind
colors: {
  custom: {
    50: '#7376b8',
    500: '#2a439a',
    950: '#000000',
  },
}
SCSS
$custom: #2a439a;
$custom-light: #7376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a439a",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 226.607,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.417,
    "c": 0.14525,
    "h": 267.5
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#2A439A
secondary
#BCA863
accent
#BE47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A439A

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

Preview Lab → · Contrast checker → · Palette generator →

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