#2A3099#2A3099

#2A3099 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.168 H 272.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A3099
RGBrgb(42, 48, 153)
HSLhsl(237, 57%, 38%)
HSVhsv(237, 73%, 60%)
CMYKcmyk(72.5%, 68.6%, 0%, 40%)
CIE-LABlab(26.46, 33.87, -57.89)
CIE-LCHlch(26.46, 67.07, 300.33°)
OKLaboklab(38% 0.0079 -0.1673)
OKLCHoklch(38% 0.168 272.7)
XYZxyz(7.7596, 4.9053, 30.6687)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3099 #99932A
analogous
#2A6799 #2A3099 #5B2A99
triadic
#2A3099 #992A30 #30992A
tetradic
#2A3099 #992A67 #99932A #2A995B
square
#2A3099 #992A67 #99932A #2A995B
split-complementary
#2A3099 #995B2A #67992A
monochromatic
#101239 #1D2169 #2A3099 #3840C8 #686ED6

Accessibility & contrast

On white

10.60
#2A3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3099
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3099#FFFFFF#000000##FFFFFF
##2A30991.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3099;
/* rgb */ color: rgb(42, 48, 153);
/* oklch */ color: oklch(38.0% 0.168 272.7);
Tailwind
colors: {
  custom: {
    50: '#7469b8',
    500: '#2a3099',
    950: '#000000',
  },
}
SCSS
$custom: #2a3099;
$custom-light: #7469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3099",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 236.757,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.16753,
    "h": 272.7
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#2A3099
secondary
#BCB763
accent
#D848E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3099

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

Preview Lab → · Contrast checker → · Palette generator →

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