#2A4394#2A4394

#2A4394 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.137 H 267.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4394
RGBrgb(42, 67, 148)
HSLhsl(226, 56%, 37%)
HSVhsv(226, 72%, 58%)
CMYKcmyk(71.6%, 54.7%, 0%, 42%)
CIE-LABlab(30.98, 19.37, -47.46)
CIE-LCHlch(30.98, 51.26, 292.20°)
OKLaboklab(41.21% -0.0067 -0.1365)
OKLCHoklch(41.21% 0.137 267.2)
XYZxyz(8.3054, 6.6438, 28.8559)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4394 #947B2A
analogous
#2A7894 #2A4394 #462A94
triadic
#2A4394 #942A43 #43942A
tetradic
#2A4394 #942A78 #947B2A #2A9446
square
#2A4394 #942A78 #947B2A #2A9446
split-complementary
#2A4394 #94462A #78942A
monochromatic
#0F1835 #1C2D64 #2A4394 #3859C4 #657FD3

Accessibility & contrast

On white

9.02
#2A4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A4394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4394
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4394#FFFFFF#000000##FFFFFF
##2A43941.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4394;
/* rgb */ color: rgb(42, 67, 148);
/* oklch */ color: oklch(41.2% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#7276b4',
    500: '#2a4394',
    950: '#000000',
  },
}
SCSS
$custom: #2a4394;
$custom-light: #7276b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4394",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 225.849,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.1367,
    "h": 267.2
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#2A4394
secondary
#B9A460
accent
#BC49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4394

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

Preview Lab → · Contrast checker → · Palette generator →

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