#2D3D80#2D3D80

#2D3D80 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.114 H 270.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2D3D80
RGBrgb(45, 61, 128)
HSLhsl(228, 48%, 34%)
HSVhsv(228, 65%, 50%)
CMYKcmyk(64.8%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.99, 16.38, -39.93)
CIE-LCHlch(27.99, 43.16, 292.30°)
OKLaboklab(38.53% 0.0003 -0.1144)
OKLCHoklch(38.53% 0.114 270.2)
XYZxyz(6.6459, 5.4533, 21.1203)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D80 #80702D
analogous
#2D6780 #2D3D80 #472D80
triadic
#2D3D80 #802D3D #3D802D
tetradic
#2D3D80 #802D67 #80702D #2D8047
square
#2D3D80 #802D67 #80702D #2D8047
split-complementary
#2D3D80 #80472D #67802D
monochromatic
#0D1225 #1D2753 #2D3D80 #3D53AD #6074C7

Accessibility & contrast

On white

10.04
#2D3D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D3D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D80
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D80#FFFFFF#000000##FFFFFF
##2D3D801.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#023F7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3d80;
/* rgb */ color: rgb(45, 61, 128);
/* oklch */ color: oklch(38.5% 0.114 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f72a5',
    500: '#2d3d80',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d80;
$custom-light: #6f72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d80",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 228.434,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.1144,
    "h": 270.2
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#2D3D80
secondary
#AE9E5B
accent
#BD50D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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