#2A3D83#2A3D83

#2A3D83 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.120 H 268.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2A3D83
RGBrgb(42, 61, 131)
HSLhsl(227, 51%, 34%)
HSVhsv(227, 68%, 51%)
CMYKcmyk(67.9%, 53.4%, 0%, 48.6%)
CIE-LABlab(28.03, 16.96, -41.75)
CIE-LCHlch(28.03, 45.06, 292.11°)
OKLaboklab(38.58% -0.0026 -0.1198)
OKLCHoklch(38.58% 0.12 268.8)
XYZxyz(6.7189, 5.4678, 22.1696)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D83 #83702A
analogous
#2A6A83 #2A3D83 #442A83
triadic
#2A3D83 #832A3D #3D832A
tetradic
#2A3D83 #832A6A #83702A #2A8344
square
#2A3D83 #832A6A #83702A #2A8344
split-complementary
#2A3D83 #83442A #6A832A
monochromatic
#0C1226 #1B2755 #2A3D83 #3953B1 #5D74CB

Accessibility & contrast

On white

10.03
#2A3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D83
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D83#FFFFFF#000000##FFFFFF
##2A3D831.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3d83;
/* rgb */ color: rgb(42, 61, 131);
/* oklch */ color: oklch(38.6% 0.120 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e72a8',
    500: '#2a3d83',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d83;
$custom-light: #6e72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d83",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 227.191,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.11986,
    "h": 268.8
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#2A3D83
secondary
#B19E58
accent
#BD4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2A3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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