#2A3E95#2A3E95

#2A3E95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.145 H 269.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A3E95
RGBrgb(42, 62, 149)
HSLhsl(229, 56%, 37%)
HSVhsv(229, 72%, 58%)
CMYKcmyk(71.8%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.68, 23.14, -50.19)
CIE-LCHlch(29.68, 55.26, 294.75°)
OKLaboklab(40.26% -0.0023 -0.1446)
OKLCHoklch(40.26% 0.145 269.1)
XYZxyz(8.1004, 6.1066, 29.1797)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E95 #95812A
analogous
#2A7495 #2A3E95 #4B2A95
triadic
#2A3E95 #952A3E #3E952A
tetradic
#2A3E95 #952A74 #95812A #2A954B
square
#2A3E95 #952A74 #95812A #2A954B
split-complementary
#2A3E95 #954B2A #74952A
monochromatic
#0F1636 #1D2A65 #2A3E95 #3752C5 #667AD4

Accessibility & contrast

On white

9.45
#2A3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E95
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E95#FFFFFF#000000##FFFFFF
##2A3E951.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a3e95;
/* rgb */ color: rgb(42, 62, 149);
/* oklch */ color: oklch(40.3% 0.145 269.1);
Tailwind
colors: {
  custom: {
    50: '#7273b5',
    500: '#2a3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e95;
$custom-light: #7273b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e95",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 228.785,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.14465,
    "h": 269.1
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2A3E95
secondary
#BAA961
accent
#C348DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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