#2A3683#2A3683

#2A3683 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.129 H 271.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2A3683
RGBrgb(42, 54, 131)
HSLhsl(232, 51%, 34%)
HSVhsv(232, 68%, 51%)
CMYKcmyk(67.9%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.07, 21.77, -44.93)
CIE-LCHlch(26.07, 49.93, 295.86°)
OKLaboklab(37.11% 0.0042 -0.1293)
OKLCHoklch(37.11% 0.129 271.9)
XYZxyz(6.3694, 4.7687, 22.0531)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3683 #83772A
analogous
#2A6383 #2A3683 #4B2A83
triadic
#2A3683 #832A36 #36832A
tetradic
#2A3683 #832A63 #83772A #2A834B
square
#2A3683 #832A63 #83772A #2A834B
split-complementary
#2A3683 #834B2A #63832A
monochromatic
#0C1026 #1B2355 #2A3683 #3949B1 #5D6BCB

Accessibility & contrast

On white

10.75
#2A3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3683
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3683#FFFFFF#000000##FFFFFF
##2A36831.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3683;
/* rgb */ color: rgb(42, 54, 131);
/* oklch */ color: oklch(37.1% 0.129 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ca8',
    500: '#2a3683',
    950: '#000000',
  },
}
SCSS
$custom: #2a3683;
$custom-light: #6f6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3683",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 231.91,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.12934,
    "h": 271.9
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#2A3683
secondary
#B1A558
accent
#C84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3683

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

Preview Lab → · Contrast checker → · Palette generator →

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