#2A4192#2A4192

#2A4192 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.136 H 267.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2A4192
RGBrgb(42, 65, 146)
HSLhsl(227, 55%, 37%)
HSVhsv(227, 71%, 57%)
CMYKcmyk(71.2%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.27, 19.96, -47.39)
CIE-LCHlch(30.27, 51.42, 292.84°)
OKLaboklab(40.63% -0.0051 -0.1364)
OKLCHoklch(40.63% 0.136 267.9)
XYZxyz(8.0317, 6.3474, 27.9904)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4192 #927B2A
analogous
#2A7592 #2A4192 #472A92
triadic
#2A4192 #922A41 #41922A
tetradic
#2A4192 #922A75 #927B2A #2A9247
square
#2A4192 #922A75 #927B2A #2A9247
split-complementary
#2A4192 #92472A #75922A
monochromatic
#0F1733 #1C2C62 #2A4192 #3856C2 #647CD2

Accessibility & contrast

On white

9.25
#2A4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4192
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4192#FFFFFF#000000##FFFFFF
##2A41921.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4192;
/* rgb */ color: rgb(42, 65, 146);
/* oklch */ color: oklch(40.6% 0.136 267.9);
Tailwind
colors: {
  custom: {
    50: '#7175b3',
    500: '#2a4192',
    950: '#000000',
  },
}
SCSS
$custom: #2a4192;
$custom-light: #7175b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4192",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 226.731,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40631,
    "c": 0.13645,
    "h": 267.9
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#2A4192
secondary
#B8A55F
accent
#BE49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4192

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

Preview Lab → · Contrast checker → · Palette generator →

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