#2A3685#2A3685

#2A3685 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.132 H 271.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2A3685
RGBrgb(42, 54, 133)
HSLhsl(232, 52%, 34%)
HSVhsv(232, 68%, 52%)
CMYKcmyk(68.4%, 59.4%, 0%, 47.8%)
CIE-LABlab(26.23, 22.53, -45.92)
CIE-LCHlch(26.23, 51.15, 296.13°)
OKLaboklab(37.28% 0.0042 -0.1322)
OKLCHoklch(37.28% 0.132 271.8)
XYZxyz(6.5062, 4.8234, 22.7739)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3685 #85792A
analogous
#2A6485 #2A3685 #4C2A85
triadic
#2A3685 #852A36 #36852A
tetradic
#2A3685 #852A64 #85792A #2A854C
square
#2A3685 #852A64 #85792A #2A854C
split-complementary
#2A3685 #854C2A #64852A
monochromatic
#0D1028 #1B2356 #2A3685 #3949B4 #5D6CCC

Accessibility & contrast

On white

10.69
#2A3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3685
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3685#FFFFFF#000000##FFFFFF
##2A36851.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3685;
/* rgb */ color: rgb(42, 54, 133);
/* oklch */ color: oklch(37.3% 0.132 271.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca9',
    500: '#2a3685',
    950: '#000000',
  },
}
SCSS
$custom: #2a3685;
$custom-light: #6f6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3685",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 232.088,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.13225,
    "h": 271.8
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2A3685
secondary
#B2A659
accent
#C94CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3685

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

Preview Lab → · Contrast checker → · Palette generator →

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