#2A3DA5#2A3DA5

#2A3DA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.168 H 269.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2A3DA5
RGBrgb(42, 61, 165)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 75%, 65%)
CMYKcmyk(74.5%, 63%, 0%, 35.3%)
CIE-LABlab(30.75, 29.83, -58.15)
CIE-LCHlch(30.75, 65.35, 297.15°)
OKLaboklab(41.47% -0.0015 -0.168)
OKLCHoklch(41.47% 0.168 269.5)
XYZxyz(9.4128, 6.5453, 36.3573)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DA5 #A5922A
analogous
#2A7AA5 #2A3DA5 #552AA5
triadic
#2A3DA5 #A52A3D #3DA52A
tetradic
#2A3DA5 #A52A7A #A5922A #2AA555
square
#2A3DA5 #A52A7A #A5922A #2AA555
split-complementary
#2A3DA5 #A5552A #7AA52A
monochromatic
#111943 #1E2B74 #2A3DA5 #3E54CE #6F80DA

Accessibility & contrast

On white

9.09
#2A3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DA5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DA5#FFFFFF#000000##FFFFFF
##2A3DA51.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3da5;
/* rgb */ color: rgb(42, 61, 165);
/* oklch */ color: oklch(41.5% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#7672c1',
    500: '#2a3da5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3da5;
$custom-light: #7672c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3da5",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 230.732,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.16803,
    "h": 269.5
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#2A3DA5
secondary
#C1B469
accent
#CA45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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