#2A4286#2A4286

#2A4286 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.118 H 266.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A4286
RGBrgb(42, 66, 134)
HSLhsl(224, 52%, 35%)
HSVhsv(224, 69%, 53%)
CMYKcmyk(68.7%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.69, 14.68, -40.94)
CIE-LCHlch(29.69, 43.49, 289.73°)
OKLaboklab(39.91% -0.0072 -0.1174)
OKLCHoklch(39.91% 0.118 266.5)
XYZxyz(7.2046, 6.1092, 23.3491)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4286 #866E2A
analogous
#2A7086 #2A4286 #402A86
triadic
#2A4286 #862A42 #42862A
tetradic
#2A4286 #862A70 #866E2A #2A8640
square
#2A4286 #862A70 #866E2A #2A8640
split-complementary
#2A4286 #86402A #70862A
monochromatic
#0D1429 #1B2B57 #2A4286 #3959B5 #5E7BCD

Accessibility & contrast

On white

9.45
#2A4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4286
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4286#FFFFFF#000000##FFFFFF
##2A42861.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#034285
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4286;
/* rgb */ color: rgb(42, 66, 134);
/* oklch */ color: oklch(39.9% 0.118 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f75aa',
    500: '#2a4286',
    950: '#000000',
  },
}
SCSS
$custom: #2a4286;
$custom-light: #6f75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4286",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 224.348,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.11759,
    "h": 266.5
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#2A4286
secondary
#B29B5A
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4286

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

Preview Lab → · Contrast checker → · Palette generator →

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