#2A4196#2A4196

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

Color values

HEX#2A4196
RGBrgb(42, 65, 150)
HSLhsl(227, 56%, 38%)
HSVhsv(227, 72%, 59%)
CMYKcmyk(72%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.58, 21.49, -49.34)
CIE-LCHlch(30.58, 53.81, 293.54°)
OKLaboklab(40.96% -0.0048 -0.1421)
OKLCHoklch(40.96% 0.142 268.1)
XYZxyz(8.3483, 6.4740, 29.6579)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4196 #967F2A
analogous
#2A7796 #2A4196 #492A96
triadic
#2A4196 #962A41 #41962A
tetradic
#2A4196 #962A77 #967F2A #2A9649
square
#2A4196 #962A77 #967F2A #2A9649
split-complementary
#2A4196 #96492A #77962A
monochromatic
#0F1836 #1D2C66 #2A4196 #3756C6 #667ED4

Accessibility & contrast

On white

9.15
#2A4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4196
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4196#FFFFFF#000000##FFFFFF
##2A41961.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4196;
/* rgb */ color: rgb(42, 65, 150);
/* oklch */ color: oklch(41.0% 0.142 268.1);
Tailwind
colors: {
  custom: {
    50: '#7275b6',
    500: '#2a4196',
    950: '#000000',
  },
}
SCSS
$custom: #2a4196;
$custom-light: #7275b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4196",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 227.222,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.14217,
    "h": 268.1
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#2A4196
secondary
#BAA761
accent
#BF48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4196

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

Preview Lab → · Contrast checker → · Palette generator →

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