#2A436F#2A436F

#2A436F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.5% C 0.081 H 261.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2A436F
RGBrgb(42, 67, 111)
HSLhsl(218, 45%, 30%)
HSVhsv(218, 62%, 44%)
CMYKcmyk(62.2%, 39.6%, 0%, 56.5%)
CIE-LABlab(28.52, 5.29, -28.38)
CIE-LCHlch(28.52, 28.87, 280.55°)
OKLaboklab(38.54% -0.0127 -0.0805)
OKLCHoklch(38.54% 0.081 261)
XYZxyz(5.8302, 5.6538, 15.8199)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A436F #6F562A
analogous
#2A656F #2A436F #342A6F
triadic
#2A436F #6F2A43 #436F2A
tetradic
#2A436F #6F2A65 #6F562A #2A6F34
square
#2A436F #6F2A65 #6F562A #2A6F34
split-complementary
#2A436F #6F342A #656F2A
monochromatic
#080D16 #192843 #2A436F #3B5E9B #557BBF

Accessibility & contrast

On white

9.86
#2A436F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A436F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A436F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A436F#FFFFFF#000000##FFFFFF
##2A436F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304771
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#004D53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a436f;
/* rgb */ color: rgb(42, 67, 111);
/* oklch */ color: oklch(38.5% 0.081 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a7698',
    500: '#2a436f',
    950: '#000000',
  },
}
SCSS
$custom: #2a436f;
$custom-light: #6a7698;
$custom-dark: #000000;
JSON
{
  "hex": "#2a436f",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 111
  },
  "hsl": {
    "h": 218.261,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.3854,
    "c": 0.08148,
    "h": 261
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#2A436F
secondary
#A18554
accent
#A653D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A436F

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

Preview Lab → · Contrast checker → · Palette generator →

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