#2A436E#2A436E

#2A436E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.080 H 260.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2A436E
RGBrgb(42, 67, 110)
HSLhsl(218, 45%, 30%)
HSVhsv(218, 62%, 43%)
CMYKcmyk(61.8%, 39.1%, 0%, 56.9%)
CIE-LABlab(28.46, 4.92, -27.84)
CIE-LCHlch(28.46, 28.27, 280.02°)
OKLaboklab(38.48% -0.013 -0.0789)
OKLCHoklch(38.48% 0.08 260.6)
XYZxyz(5.7755, 5.6318, 15.5315)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A436E #6E552A
analogous
#2A656E #2A436E #332A6E
triadic
#2A436E #6E2A43 #436E2A
tetradic
#2A436E #6E2A65 #6E552A #2A6E33
square
#2A436E #6E2A65 #6E552A #2A6E33
split-complementary
#2A436E #6E332A #656E2A
monochromatic
#080D16 #192842 #2A436E #3B5E9A #557BBE

Accessibility & contrast

On white

9.88
#2A436E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A436E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A436E#FFFFFF#000000##FFFFFF
##2A436E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314770
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#004D53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a436e;
/* rgb */ color: rgb(42, 67, 110);
/* oklch */ color: oklch(38.5% 0.080 260.6);
Tailwind
colors: {
  custom: {
    50: '#6a7698',
    500: '#2a436e',
    950: '#000000',
  },
}
SCSS
$custom: #2a436e;
$custom-light: #6a7698;
$custom-dark: #000000;
JSON
{
  "hex": "#2a436e",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 110
  },
  "hsl": {
    "h": 217.941,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38477,
    "c": 0.07996,
    "h": 260.6
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#2A436E
secondary
#A08454
accent
#A553D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A436E

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

Preview Lab → · Contrast checker → · Palette generator →

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