#2B427A#2B427A

#2B427A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.099 H 265.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2B427A
RGBrgb(43, 66, 122)
HSLhsl(223, 48%, 32%)
HSVhsv(223, 65%, 48%)
CMYKcmyk(64.8%, 45.9%, 0%, 52.2%)
CIE-LABlab(28.94, 10.30, -34.65)
CIE-LCHlch(28.94, 36.15, 286.56°)
OKLaboklab(39.1% -0.0081 -0.0989)
OKLCHoklch(39.1% 0.099 265.3)
XYZxyz(6.4561, 5.8146, 19.1907)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B427A #7A632B
analogous
#2B697A #2B427A #3C2B7A
triadic
#2B427A #7A2B42 #427A2B
tetradic
#2B427A #7A2B69 #7A632B #2B7A3C
square
#2B427A #7A2B69 #7A632B #2B7A3C
split-complementary
#2B427A #7A3C2B #697A2B
monochromatic
#0B111F #1B2A4D #2B427A #3B5AA7 #5A79C5

Accessibility & contrast

On white

9.71
#2B427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B427A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B427A#FFFFFF#000000##FFFFFF
##2B427A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#1C4179
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b427a;
/* rgb */ color: rgb(43, 66, 122);
/* oklch */ color: oklch(39.1% 0.099 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d76a1',
    500: '#2b427a',
    950: '#000000',
  },
}
SCSS
$custom: #2b427a;
$custom-light: #6d76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b427a",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 222.532,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.09919,
    "h": 265.3
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#2B427A
secondary
#AB9256
accent
#B050D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2B427A

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

Preview Lab → · Contrast checker → · Palette generator →

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