#2A437F#2A437F

#2A437F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.106 H 265.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2A437F
RGBrgb(42, 67, 127)
HSLhsl(222, 50%, 33%)
HSVhsv(222, 67%, 50%)
CMYKcmyk(66.9%, 47.2%, 0%, 50.2%)
CIE-LABlab(29.51, 11.32, -36.87)
CIE-LCHlch(29.51, 38.57, 287.07°)
OKLaboklab(39.62% -0.0093 -0.1054)
OKLCHoklch(39.62% 0.106 265)
XYZxyz(6.7914, 6.0382, 20.8821)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A437F #7F662A
analogous
#2A6D7F #2A437F #3B2A7F
triadic
#2A437F #7F2A43 #437F2A
tetradic
#2A437F #7F2A6D #7F662A #2A7F3B
square
#2A437F #7F2A6D #7F662A #2A7F3B
split-complementary
#2A437F #7F3B2A #6D7F2A
monochromatic
#0C1223 #1B2B51 #2A437F #395BAD #5B7BC9

Accessibility & contrast

On white

9.51
#2A437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A437F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A437F#FFFFFF#000000##FFFFFF
##2A437F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a437f;
/* rgb */ color: rgb(42, 67, 127);
/* oklch */ color: oklch(39.6% 0.106 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d76a4',
    500: '#2a437f',
    950: '#000000',
  },
}
SCSS
$custom: #2a437f;
$custom-light: #6d76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a437f",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 222.353,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.1058,
    "h": 265
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#2A437F
secondary
#AE9457
accent
#B14EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A437F

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

Preview Lab → · Contrast checker → · Palette generator →

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