#2D426F#2D426F

#2D426F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.081 H 264.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2D426F
RGBrgb(45, 66, 111)
HSLhsl(221, 42%, 31%)
HSVhsv(221, 59%, 44%)
CMYKcmyk(59.5%, 40.5%, 0%, 56.5%)
CIE-LABlab(28.38, 6.65, -28.59)
CIE-LCHlch(28.38, 29.35, 283.09°)
OKLaboklab(38.48% -0.0084 -0.081)
OKLCHoklch(38.48% 0.081 264)
XYZxyz(5.8987, 5.6015, 15.8062)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D426F #6F5A2D
analogous
#2D636F #2D426F #392D6F
triadic
#2D426F #6F2D42 #426F2D
tetradic
#2D426F #6F2D63 #6F5A2D #2D6F39
square
#2D426F #6F2D63 #6F5A2D #2D6F39
split-complementary
#2D426F #6F392D #636F2D
monochromatic
#0A0E18 #1B2843 #2D426F #3F5C9B #5A79BC

Accessibility & contrast

On white

9.90
#2D426F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D426F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D426F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D426F#FFFFFF#000000##FFFFFF
##2D426F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#014C53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d426f;
/* rgb */ color: rgb(45, 66, 111);
/* oklch */ color: oklch(38.5% 0.081 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c7698',
    500: '#2d426f',
    950: '#000000',
  },
}
SCSS
$custom: #2d426f;
$custom-light: #6c7698;
$custom-dark: #000000;
JSON
{
  "hex": "#2d426f",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 111
  },
  "hsl": {
    "h": 220.909,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.08148,
    "h": 264
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#2D426F
secondary
#A18957
accent
#AB56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D426F

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

Preview Lab → · Contrast checker → · Palette generator →

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