#2A4293#2A4293

#2A4293 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.137 H 267.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2A4293
RGBrgb(42, 66, 147)
HSLhsl(226, 56%, 37%)
HSVhsv(226, 71%, 58%)
CMYKcmyk(71.4%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.63, 19.66, -47.43)
CIE-LCHlch(30.63, 51.34, 292.52°)
OKLaboklab(40.92% -0.0059 -0.1364)
OKLCHoklch(40.92% 0.137 267.5)
XYZxyz(8.1677, 6.4944, 28.4212)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4293 #937B2A
analogous
#2A7793 #2A4293 #472A93
triadic
#2A4293 #932A42 #42932A
tetradic
#2A4293 #932A77 #937B2A #2A9347
square
#2A4293 #932A77 #937B2A #2A9347
split-complementary
#2A4293 #93472A #77932A
monochromatic
#0F1734 #1C2D63 #2A4293 #3857C3 #657ED3

Accessibility & contrast

On white

9.13
#2A4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4293
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4293#FFFFFF#000000##FFFFFF
##2A42931.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4293;
/* rgb */ color: rgb(42, 66, 147);
/* oklch */ color: oklch(40.9% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#7176b3',
    500: '#2a4293',
    950: '#000000',
  },
}
SCSS
$custom: #2a4293;
$custom-light: #7176b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4293",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 226.286,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.13658,
    "h": 267.5
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4293

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

Preview Lab → · Contrast checker → · Palette generator →

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