#2A369E#2A369E

#2A369E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.167 H 271.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2A369E
RGBrgb(42, 54, 158)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 73%, 62%)
CMYKcmyk(73.4%, 65.8%, 0%, 38%)
CIE-LABlab(28.38, 31.83, -57.80)
CIE-LCHlch(28.38, 65.98, 298.84°)
OKLaboklab(39.53% 0.0035 -0.1671)
OKLCHoklch(39.53% 0.167 271.2)
XYZxyz(8.4435, 5.5983, 32.9767)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A369E #9E922A
analogous
#2A709E #2A369E #582A9E
triadic
#2A369E #9E2A36 #369E2A
tetradic
#2A369E #9E2A70 #9E922A #2A9E58
square
#2A369E #9E2A70 #9E922A #2A9E58
split-complementary
#2A369E #9E582A #709E2A
monochromatic
#10153D #1D256E #2A369E #3A49CB #6B76D8

Accessibility & contrast

On white

9.91
#2A369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A369E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A369E#FFFFFF#000000##FFFFFF
##2A369E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a369e;
/* rgb */ color: rgb(42, 54, 158);
/* oklch */ color: oklch(39.5% 0.167 271.2);
Tailwind
colors: {
  custom: {
    50: '#756dbc',
    500: '#2a369e',
    950: '#000000',
  },
}
SCSS
$custom: #2a369e;
$custom-light: #756dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a369e",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 233.793,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.1671,
    "h": 271.2
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#2A369E
secondary
#BEB566
accent
#D147E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A369E

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

Preview Lab → · Contrast checker → · Palette generator →

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