#2A369F#2A369F

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

Color values

HEX#2A369F
RGBrgb(42, 54, 159)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 74%, 62%)
CMYKcmyk(73.6%, 66%, 0%, 37.6%)
CIE-LABlab(28.47, 32.19, -58.26)
CIE-LCHlch(28.47, 66.56, 298.92°)
OKLaboklab(39.63% 0.0035 -0.1684)
OKLCHoklch(39.63% 0.168 271.2)
XYZxyz(8.5299, 5.6329, 33.4319)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A369F #9F932A
analogous
#2A719F #2A369F #592A9F
triadic
#2A369F #9F2A36 #369F2A
tetradic
#2A369F #9F2A71 #9F932A #2A9F59
square
#2A369F #9F2A71 #9F932A #2A9F59
split-complementary
#2A369F #9F592A #719F2A
monochromatic
#10153E #1D266F #2A369F #3B4ACB #6B77D8

Accessibility & contrast

On white

9.87
#2A369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A369F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A369F#FFFFFF#000000##FFFFFF
##2A369F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a369f;
/* rgb */ color: rgb(42, 54, 159);
/* oklch */ color: oklch(39.6% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#756dbc',
    500: '#2a369f',
    950: '#000000',
  },
}
SCSS
$custom: #2a369f;
$custom-light: #756dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a369f",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 233.846,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.16844,
    "h": 271.2
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#2A369F
secondary
#BFB666
accent
#D246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A369F

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

Preview Lab → · Contrast checker → · Palette generator →

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