#2A498E#2A498E

#2A498E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 263.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2A498E
RGBrgb(42, 73, 142)
HSLhsl(221, 54%, 36%)
HSVhsv(221, 70%, 56%)
CMYKcmyk(70.4%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.28, 13.00, -41.70)
CIE-LCHlch(32.28, 43.68, 287.31°)
OKLaboklab(42.07% -0.0129 -0.1195)
OKLCHoklch(42.07% 0.12 263.8)
XYZxyz(8.2182, 7.2095, 26.5444)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A498E #8E6F2A
analogous
#2A7B8E #2A498E #3D2A8E
triadic
#2A498E #8E2A49 #498E2A
tetradic
#2A498E #8E2A7B #8E6F2A #2A8E3D
square
#2A498E #8E2A7B #8E6F2A #2A8E3D
split-complementary
#2A498E #8E3D2A #7B8E2A
monochromatic
#0E1830 #1C315F #2A498E #3861BD #6284D1

Accessibility & contrast

On white

8.60
#2A498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A498E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A498E#FFFFFF#000000##FFFFFF
##2A498E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a498e;
/* rgb */ color: rgb(42, 73, 142);
/* oklch */ color: oklch(42.1% 0.120 263.8);
Tailwind
colors: {
  custom: {
    50: '#707baf',
    500: '#2a498e',
    950: '#000000',
  },
}
SCSS
$custom: #2a498e;
$custom-light: #707baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a498e",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 221.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.12019,
    "h": 263.8
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#2A498E
secondary
#B69B5D
accent
#B04ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A498E

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

Preview Lab → · Contrast checker → · Palette generator →

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