#2A4B9C#2A4B9C

#2A4B9C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.138 H 264.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4B9C
RGBrgb(42, 75, 156)
HSLhsl(223, 58%, 39%)
HSVhsv(223, 73%, 61%)
CMYKcmyk(73.1%, 51.9%, 0%, 38.8%)
CIE-LABlab(33.82, 17.04, -47.73)
CIE-LCHlch(33.82, 50.68, 289.65°)
OKLaboklab(43.55% -0.0129 -0.1372)
OKLCHoklch(43.55% 0.138 264.6)
XYZxyz(9.4696, 7.9237, 32.4764)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B9C #9C7B2A
analogous
#2A849C #2A4B9C #422A9C
triadic
#2A4B9C #9C2A4B #4B9C2A
tetradic
#2A4B9C #9C2A84 #9C7B2A #2A9C42
square
#2A4B9C #9C2A84 #9C7B2A #2A9C42
split-complementary
#2A4B9C #9C422A #849C2A
monochromatic
#101D3C #1D346C #2A4B9C #3963CA #6A89D7

Accessibility & contrast

On white

8.12
#2A4B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B9C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B9C#FFFFFF#000000##FFFFFF
##2A4B9C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4b9c;
/* rgb */ color: rgb(42, 75, 156);
/* oklch */ color: oklch(43.6% 0.138 264.6);
Tailwind
colors: {
  custom: {
    50: '#737cba',
    500: '#2a4b9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b9c;
$custom-light: #737cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b9c",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 156
  },
  "hsl": {
    "h": 222.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.13779,
    "h": 264.6
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#2A4B9C
secondary
#BDA465
accent
#B447E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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