#2A4B8F#2A4B8F

#2A4B8F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.119 H 262.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2A4B8F
RGBrgb(42, 75, 143)
HSLhsl(220, 55%, 36%)
HSVhsv(220, 71%, 56%)
CMYKcmyk(70.6%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.93, 12.03, -41.26)
CIE-LCHlch(32.93, 42.98, 286.26°)
OKLaboklab(42.59% -0.0147 -0.1182)
OKLCHoklch(42.59% 0.119 262.9)
XYZxyz(8.4271, 7.5067, 26.9861)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B8F #8F6E2A
analogous
#2A7E8F #2A4B8F #3C2A8F
triadic
#2A4B8F #8F2A4B #4B8F2A
tetradic
#2A4B8F #8F2A7E #8F6E2A #2A8F3C
square
#2A4B8F #8F2A7E #8F6E2A #2A8F3C
split-complementary
#2A4B8F #8F3C2A #7E8F2A
monochromatic
#0E1930 #1C3260 #2A4B8F #3864BE #6287D1

Accessibility & contrast

On white

8.39
#2A4B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A4B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B8F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B8F#FFFFFF#000000##FFFFFF
##2A4B8F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#13498E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4b8f;
/* rgb */ color: rgb(42, 75, 143);
/* oklch */ color: oklch(42.6% 0.119 262.9);
Tailwind
colors: {
  custom: {
    50: '#707cb0',
    500: '#2a4b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b8f;
$custom-light: #707cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b8f",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 220.396,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.11908,
    "h": 262.9
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#2A4B8F
secondary
#B79A5E
accent
#AE4ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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