#2A437C#2A437C

#2A437C is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.101 H 264.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2A437C
RGBrgb(42, 67, 124)
HSLhsl(222, 49%, 33%)
HSVhsv(222, 66%, 49%)
CMYKcmyk(66.1%, 46%, 0%, 51.4%)
CIE-LABlab(29.31, 10.18, -35.31)
CIE-LCHlch(29.31, 36.75, 286.08°)
OKLaboklab(39.41% -0.0098 -0.1008)
OKLCHoklch(39.41% 0.101 264.4)
XYZxyz(6.5988, 5.9612, 19.8677)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A437C #7C632A
analogous
#2A6C7C #2A437C #3A2A7C
triadic
#2A437C #7C2A43 #437C2A
tetradic
#2A437C #7C2A6C #7C632A #2A7C3A
square
#2A437C #7C2A6C #7C632A #2A7C3A
split-complementary
#2A437C #7C3A2A #6C7C2A
monochromatic
#0B1221 #1B2A4E #2A437C #395CAA #597BC7

Accessibility & contrast

On white

9.58
#2A437C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A437C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A437C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A437C#FFFFFF#000000##FFFFFF
##2A437C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a437c;
/* rgb */ color: rgb(42, 67, 124);
/* oklch */ color: oklch(39.4% 0.101 264.4);
Tailwind
colors: {
  custom: {
    50: '#6d76a2',
    500: '#2a437c',
    950: '#000000',
  },
}
SCSS
$custom: #2a437c;
$custom-light: #6d76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a437c",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 221.707,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.10128,
    "h": 264.4
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#2A437C
secondary
#AD9255
accent
#AF4FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2A437C

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

Preview Lab → · Contrast checker → · Palette generator →

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