#2A4B91#2A4B91

#2A4B91 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.122 H 263.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2A4B91
RGBrgb(42, 75, 145)
HSLhsl(221, 55%, 37%)
HSVhsv(221, 71%, 57%)
CMYKcmyk(71%, 48.3%, 0%, 43.1%)
CIE-LABlab(33.07, 12.80, -42.27)
CIE-LCHlch(33.07, 44.16, 286.85°)
OKLaboklab(42.73% -0.0144 -0.1211)
OKLCHoklch(42.73% 0.122 263.2)
XYZxyz(8.5799, 7.5679, 27.7911)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B91 #91702A
analogous
#2A7F91 #2A4B91 #3D2A91
triadic
#2A4B91 #912A4B #4B912A
tetradic
#2A4B91 #912A7F #91702A #2A913D
square
#2A4B91 #912A7F #91702A #2A913D
split-complementary
#2A4B91 #913D2A #7F912A
monochromatic
#0F1A32 #1C3262 #2A4B91 #3864C0 #6387D2

Accessibility & contrast

On white

8.35
#2A4B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A4B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B91
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B91#FFFFFF#000000##FFFFFF
##2A4B911.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#0E4990
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4b91;
/* rgb */ color: rgb(42, 75, 145);
/* oklch */ color: oklch(42.7% 0.122 263.2);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2a4b91',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b91;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b91",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 220.777,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.12199,
    "h": 263.2
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#2A4B91
secondary
#B89B5F
accent
#AF49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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