#2B427F#2B427F

#2B427F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.107 H 266.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B427F
RGBrgb(43, 66, 127)
HSLhsl(224, 49%, 33%)
HSVhsv(224, 66%, 50%)
CMYKcmyk(66.1%, 48%, 0%, 50.2%)
CIE-LABlab(29.26, 12.19, -37.26)
CIE-LCHlch(29.26, 39.21, 288.12°)
OKLaboklab(39.45% -0.0072 -0.1065)
OKLCHoklch(39.45% 0.107 266.1)
XYZxyz(6.7739, 5.9417, 20.8644)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B427F #7F682B
analogous
#2B6C7F #2B427F #3E2B7F
triadic
#2B427F #7F2B42 #427F2B
tetradic
#2B427F #7F2B6C #7F682B #2B7F3E
square
#2B427F #7F2B6C #7F682B #2B7F3E
split-complementary
#2B427F #7F3E2B #6C7F2B
monochromatic
#0C1224 #1C2A51 #2B427F #3A5AAD #5C7AC8

Accessibility & contrast

On white

9.60
#2B427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B427F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B427F#FFFFFF#000000##FFFFFF
##2B427F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#15417E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b427f;
/* rgb */ color: rgb(43, 66, 127);
/* oklch */ color: oklch(39.5% 0.107 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e76a4',
    500: '#2b427f',
    950: '#000000',
  },
}
SCSS
$custom: #2b427f;
$custom-light: #6e76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b427f",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 223.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.10677,
    "h": 266.1
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#2B427F
secondary
#AE9658
accent
#B34FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B427F

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

Preview Lab → · Contrast checker → · Palette generator →

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