#2A437E#2A437E

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

Color values

HEX#2A437E
RGBrgb(42, 67, 126)
HSLhsl(222, 50%, 33%)
HSVhsv(222, 67%, 49%)
CMYKcmyk(66.7%, 46.8%, 0%, 50.6%)
CIE-LABlab(29.44, 10.94, -36.35)
CIE-LCHlch(29.44, 37.96, 286.75°)
OKLaboklab(39.55% -0.0095 -0.1039)
OKLCHoklch(39.55% 0.104 264.8)
XYZxyz(6.7266, 6.0123, 20.5406)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A437E #7E652A
analogous
#2A6D7E #2A437E #3B2A7E
triadic
#2A437E #7E2A43 #437E2A
tetradic
#2A437E #7E2A6D #7E652A #2A7E3B
square
#2A437E #7E2A6D #7E652A #2A7E3B
split-complementary
#2A437E #7E3B2A #6D7E2A
monochromatic
#0B1222 #1B2B50 #2A437E #395BAC #5A7BC8

Accessibility & contrast

On white

9.53
#2A437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A437E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A437E#FFFFFF#000000##FFFFFF
##2A437E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274980
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a437e;
/* rgb */ color: rgb(42, 67, 126);
/* oklch */ color: oklch(39.6% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d76a4',
    500: '#2a437e',
    950: '#000000',
  },
}
SCSS
$custom: #2a437e;
$custom-light: #6d76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a437e",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 222.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.10429,
    "h": 264.8
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#2A437E
secondary
#AE9456
accent
#B04EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A437E

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

Preview Lab → · Contrast checker → · Palette generator →

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