#2A3D92#2A3D92

#2A3D92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.142 H 269.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2A3D92
RGBrgb(42, 61, 146)
HSLhsl(229, 55%, 37%)
HSVhsv(229, 71%, 57%)
CMYKcmyk(71.2%, 58.2%, 0%, 42.7%)
CIE-LABlab(29.17, 22.68, -49.18)
CIE-LCHlch(29.17, 54.15, 294.76°)
OKLaboklab(39.8% -0.0016 -0.1417)
OKLCHoklch(39.8% 0.142 269.4)
XYZxyz(7.8101, 5.9043, 27.9166)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D92 #927F2A
analogous
#2A7192 #2A3D92 #4B2A92
triadic
#2A3D92 #922A3D #3D922A
tetradic
#2A3D92 #922A71 #927F2A #2A924B
square
#2A3D92 #922A71 #927F2A #2A924B
split-complementary
#2A3D92 #924B2A #71922A
monochromatic
#0F1533 #1C2962 #2A3D92 #3851C2 #6478D2

Accessibility & contrast

On white

9.63
#2A3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A3D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D92
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D92#FFFFFF#000000##FFFFFF
##2A3D921.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3d92;
/* rgb */ color: rgb(42, 61, 146);
/* oklch */ color: oklch(39.8% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#7272b3',
    500: '#2a3d92',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d92;
$custom-light: #7272b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d92",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 229.038,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.14169,
    "h": 269.4
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#2A3D92
secondary
#B8A85F
accent
#C349DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3D92

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

Preview Lab → · Contrast checker → · Palette generator →

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