#2A369C#2A369C

#2A369C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.164 H 271.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2A369C
RGBrgb(42, 54, 156)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 73%, 61%)
CMYKcmyk(73.1%, 65.4%, 0%, 38.8%)
CIE-LABlab(28.19, 31.09, -56.88)
CIE-LCHlch(28.19, 64.83, 298.66°)
OKLaboklab(39.34% 0.0037 -0.1644)
OKLCHoklch(39.34% 0.164 271.3)
XYZxyz(8.2727, 5.5300, 32.0775)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A369C #9C902A
analogous
#2A6F9C #2A369C #572A9C
triadic
#2A369C #9C2A36 #369C2A
tetradic
#2A369C #9C2A6F #9C902A #2A9C57
square
#2A369C #9C2A6F #9C902A #2A9C57
split-complementary
#2A369C #9C572A #6F9C2A
monochromatic
#10153C #1D256C #2A369C #3949CA #6A75D7

Accessibility & contrast

On white

9.97
#2A369C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A369C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A369C#FFFFFF#000000##FFFFFF
##2A369C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a369c;
/* rgb */ color: rgb(42, 54, 156);
/* oklch */ color: oklch(39.3% 0.164 271.3);
Tailwind
colors: {
  custom: {
    50: '#756dba',
    500: '#2a369c',
    950: '#000000',
  },
}
SCSS
$custom: #2a369c;
$custom-light: #756dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a369c",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 156
  },
  "hsl": {
    "h": 233.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.1644,
    "h": 271.3
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#2A369C
secondary
#BDB465
accent
#D147E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2A369C

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

Preview Lab → · Contrast checker → · Palette generator →

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