#2A4F90#2A4F90

#2A4F90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.115 H 260.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4F90
RGBrgb(42, 79, 144)
HSLhsl(218, 55%, 36%)
HSVhsv(218, 71%, 56%)
CMYKcmyk(70.8%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.18, 9.74, -39.87)
CIE-LCHlch(34.18, 41.04, 283.73°)
OKLaboklab(43.57% -0.0185 -0.114)
OKLCHoklch(43.57% 0.115 260.8)
XYZxyz(8.7831, 8.0969, 27.4801)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F90 #906B2A
analogous
#2A8290 #2A4F90 #382A90
triadic
#2A4F90 #902A4F #4F902A
tetradic
#2A4F90 #902A82 #906B2A #2A9038
square
#2A4F90 #902A82 #906B2A #2A9038
split-complementary
#2A4F90 #90382A #82902A
monochromatic
#0E1B31 #1C3561 #2A4F90 #3869BF #638BD1

Accessibility & contrast

On white

8.02
#2A4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F90
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F90#FFFFFF#000000##FFFFFF
##2A4F901.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4f90;
/* rgb */ color: rgb(42, 79, 144);
/* oklch */ color: oklch(43.6% 0.115 260.8);
Tailwind
colors: {
  custom: {
    50: '#707fb1',
    500: '#2a4f90',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f90;
$custom-light: #707fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f90",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 218.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.11548,
    "h": 260.8
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#2A4F90
secondary
#B7975E
accent
#A84ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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