#2A4B85#2A4B85

#2A4B85 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.104 H 260.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2A4B85
RGBrgb(42, 75, 133)
HSLhsl(218, 52%, 34%)
HSVhsv(218, 68%, 52%)
CMYKcmyk(68.4%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.30, 8.20, -36.14)
CIE-LCHlch(32.30, 37.06, 282.79°)
OKLaboklab(41.89% -0.0166 -0.1031)
OKLCHoklch(41.89% 0.104 260.8)
XYZxyz(7.7031, 7.2171, 23.1728)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B85 #85642A
analogous
#2A7985 #2A4B85 #372A85
triadic
#2A4B85 #852A4B #4B852A
tetradic
#2A4B85 #852A79 #85642A #2A8537
square
#2A4B85 #852A79 #85642A #2A8537
split-complementary
#2A4B85 #85372A #79852A
monochromatic
#0D1728 #1B3156 #2A4B85 #3965B4 #5D86CC

Accessibility & contrast

On white

8.59
#2A4B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4B85
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B85#FFFFFF#000000##FFFFFF
##2A4B851.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305087
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4b85;
/* rgb */ color: rgb(42, 75, 133);
/* oklch */ color: oklch(41.9% 0.104 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7ca9',
    500: '#2a4b85',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b85;
$custom-light: #6e7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b85",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 218.242,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.10444,
    "h": 260.8
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#2A4B85
secondary
#B29259
accent
#A84CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4B85

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

Preview Lab → · Contrast checker → · Palette generator →

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