#2D426D#2D426D

#2D426D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.078 H 263.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2D426D
RGBrgb(45, 66, 109)
HSLhsl(220, 42%, 30%)
HSVhsv(220, 59%, 43%)
CMYKcmyk(58.7%, 39.4%, 0%, 57.3%)
CIE-LABlab(28.27, 5.92, -27.50)
CIE-LCHlch(28.27, 28.13, 282.15°)
OKLaboklab(38.35% -0.009 -0.0779)
OKLCHoklch(38.35% 0.078 263.4)
XYZxyz(5.7898, 5.5580, 15.2327)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D426D #6D582D
analogous
#2D626D #2D426D #382D6D
triadic
#2D426D #6D2D42 #426D2D
tetradic
#2D426D #6D2D62 #6D582D #2D6D38
square
#2D426D #6D2D62 #6D582D #2D6D38
split-complementary
#2D426D #6D382D #626D2D
monochromatic
#090E16 #1B2842 #2D426D #3F5C98 #5A7ABB

Accessibility & contrast

On white

9.95
#2D426D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D426D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D426D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D426D#FFFFFF#000000##FFFFFF
##2D426D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#28406C
Tritanopia (blue-blind)
#054B52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d426d;
/* rgb */ color: rgb(45, 66, 109);
/* oklch */ color: oklch(38.4% 0.078 263.4);
Tailwind
colors: {
  custom: {
    50: '#6b7697',
    500: '#2d426d',
    950: '#000000',
  },
}
SCSS
$custom: #2d426d;
$custom-light: #6b7697;
$custom-dark: #000000;
JSON
{
  "hex": "#2d426d",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 109
  },
  "hsl": {
    "h": 220.313,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.07837,
    "h": 263.4
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#2D426D
secondary
#9F8757
accent
#A956D1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D426D

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

Preview Lab → · Contrast checker → · Palette generator →

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