#2A3D95#2A3D95

#2A3D95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.146 H 269.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2A3D95
RGBrgb(42, 61, 149)
HSLhsl(229, 56%, 37%)
HSVhsv(229, 72%, 58%)
CMYKcmyk(71.8%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.41, 23.82, -50.63)
CIE-LCHlch(29.41, 55.95, 295.19°)
OKLaboklab(40.06% -0.0015 -0.1459)
OKLCHoklch(40.06% 0.146 269.4)
XYZxyz(8.0465, 5.9988, 29.1618)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D95 #95822A
analogous
#2A7295 #2A3D95 #4D2A95
triadic
#2A3D95 #952A3D #3D952A
tetradic
#2A3D95 #952A72 #95822A #2A954D
square
#2A3D95 #952A72 #95822A #2A954D
split-complementary
#2A3D95 #954D2A #72952A
monochromatic
#0F1636 #1D2965 #2A3D95 #3751C5 #6679D4

Accessibility & contrast

On white

9.55
#2A3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D95
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D95#FFFFFF#000000##FFFFFF
##2A3D951.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3d95;
/* rgb */ color: rgb(42, 61, 149);
/* oklch */ color: oklch(40.1% 0.146 269.4);
Tailwind
colors: {
  custom: {
    50: '#7272b5',
    500: '#2a3d95',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d95;
$custom-light: #7272b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d95",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 229.346,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.14594,
    "h": 269.4
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2A3D95
secondary
#BAAA61
accent
#C548DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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