#2A369D#2A369D

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

Color values

HEX#2A369D
RGBrgb(42, 54, 157)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 73%, 62%)
CMYKcmyk(73.2%, 65.6%, 0%, 38.4%)
CIE-LABlab(28.28, 31.46, -57.34)
CIE-LCHlch(28.28, 65.41, 298.75°)
OKLaboklab(39.44% 0.0036 -0.1657)
OKLCHoklch(39.44% 0.166 271.2)
XYZxyz(8.3577, 5.5640, 32.5253)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A369D #9D912A
analogous
#2A709D #2A369D #582A9D
triadic
#2A369D #9D2A36 #369D2A
tetradic
#2A369D #9D2A70 #9D912A #2A9D58
square
#2A369D #9D2A70 #9D912A #2A9D58
split-complementary
#2A369D #9D582A #709D2A
monochromatic
#10153C #1D256D #2A369D #3A49CA #6A76D7

Accessibility & contrast

On white

9.94
#2A369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A369D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A369D#FFFFFF#000000##FFFFFF
##2A369D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a369d;
/* rgb */ color: rgb(42, 54, 157);
/* oklch */ color: oklch(39.4% 0.166 271.2);
Tailwind
colors: {
  custom: {
    50: '#756dbb',
    500: '#2a369d',
    950: '#000000',
  },
}
SCSS
$custom: #2a369d;
$custom-light: #756dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a369d",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 233.739,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.16575,
    "h": 271.2
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A369D

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

Preview Lab → · Contrast checker → · Palette generator →

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