#2A4294#2A4294

#2A4294 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.138 H 267.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2A4294
RGBrgb(42, 66, 148)
HSLhsl(226, 56%, 37%)
HSVhsv(226, 72%, 58%)
CMYKcmyk(71.6%, 55.4%, 0%, 42%)
CIE-LABlab(30.70, 20.05, -47.92)
CIE-LCHlch(30.70, 51.94, 292.70°)
OKLaboklab(41% -0.0058 -0.1379)
OKLCHoklch(41% 0.138 267.6)
XYZxyz(8.2465, 6.5260, 28.8363)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4294 #947C2A
analogous
#2A7794 #2A4294 #472A94
triadic
#2A4294 #942A42 #42942A
tetradic
#2A4294 #942A77 #947C2A #2A9447
square
#2A4294 #942A77 #947C2A #2A9447
split-complementary
#2A4294 #94472A #77942A
monochromatic
#0F1735 #1C2D64 #2A4294 #3857C4 #657ED3

Accessibility & contrast

On white

9.11
#2A4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4294
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4294#FFFFFF#000000##FFFFFF
##2A42941.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4294;
/* rgb */ color: rgb(42, 66, 148);
/* oklch */ color: oklch(41.0% 0.138 267.6);
Tailwind
colors: {
  custom: {
    50: '#7276b4',
    500: '#2a4294',
    950: '#000000',
  },
}
SCSS
$custom: #2a4294;
$custom-light: #7276b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4294",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 226.415,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.13801,
    "h": 267.6
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#2A4294
secondary
#B9A560
accent
#BD49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4294

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

Preview Lab → · Contrast checker → · Palette generator →

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