#2D427F#2D427F

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

Color values

HEX#2D427F
RGBrgb(45, 66, 127)
HSLhsl(225, 48%, 34%)
HSVhsv(225, 65%, 50%)
CMYKcmyk(64.6%, 48%, 0%, 50.2%)
CIE-LABlab(29.38, 12.58, -37.08)
CIE-LCHlch(29.38, 39.15, 288.75°)
OKLaboklab(39.57% -0.0052 -0.1059)
OKLCHoklch(39.57% 0.106 267.2)
XYZxyz(6.8599, 5.9860, 20.8685)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D427F #7F6A2D
analogous
#2D6B7F #2D427F #412D7F
triadic
#2D427F #7F2D42 #427F2D
tetradic
#2D427F #7F2D6B #7F6A2D #2D7F41
square
#2D427F #7F2D6B #7F6A2D #2D7F41
split-complementary
#2D427F #7F412D #6B7F2D
monochromatic
#0D1325 #1D2B52 #2D427F #3D59AC #607AC7

Accessibility & contrast

On white

9.56
#2D427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D427F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D427F#FFFFFF#000000##FFFFFF
##2D427F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d427f;
/* rgb */ color: rgb(45, 66, 127);
/* oklch */ color: oklch(39.6% 0.106 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f76a4',
    500: '#2d427f',
    950: '#000000',
  },
}
SCSS
$custom: #2d427f;
$custom-light: #6f76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d427f",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 224.634,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.10606,
    "h": 267.2
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#2D427F
secondary
#AD985B
accent
#B551D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D427F

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

Preview Lab → · Contrast checker → · Palette generator →

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