#2A4383#2A4383

#2A4383 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.112 H 265.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2A4383
RGBrgb(42, 67, 131)
HSLhsl(223, 51%, 34%)
HSVhsv(223, 68%, 51%)
CMYKcmyk(67.9%, 48.9%, 0%, 48.6%)
CIE-LABlab(29.77, 12.85, -38.94)
CIE-LCHlch(29.77, 41.00, 288.26°)
OKLaboklab(39.91% -0.0086 -0.1115)
OKLCHoklch(39.91% 0.112 265.6)
XYZxyz(7.0573, 6.1446, 22.2824)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4383 #836A2A
analogous
#2A7083 #2A4383 #3E2A83
triadic
#2A4383 #832A43 #43832A
tetradic
#2A4383 #832A70 #836A2A #2A833E
square
#2A4383 #832A70 #836A2A #2A833E
split-complementary
#2A4383 #833E2A #70832A
monochromatic
#0C1426 #1B2B55 #2A4383 #395BB1 #5D7CCB

Accessibility & contrast

On white

9.42
#2A4383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4383
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4383#FFFFFF#000000##FFFFFF
##2A43831.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#104282
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4383;
/* rgb */ color: rgb(42, 67, 131);
/* oklch */ color: oklch(39.9% 0.112 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e76a7',
    500: '#2a4383',
    950: '#000000',
  },
}
SCSS
$custom: #2a4383;
$custom-light: #6e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4383",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 131
  },
  "hsl": {
    "h": 223.146,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.1118,
    "h": 265.6
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#2A4383
secondary
#B19858
accent
#B34DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4383

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

Preview Lab → · Contrast checker → · Palette generator →

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