#2D3D8F#2D3D8F

#2D3D8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.137 H 270.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2D3D8F
RGBrgb(45, 61, 143)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(68.5%, 57.3%, 0%, 43.9%)
CIE-LABlab(29.10, 22.01, -47.44)
CIE-LCHlch(29.10, 52.29, 294.89°)
OKLaboklab(39.72% 0.0014 -0.1365)
OKLCHoklch(39.72% 0.137 270.6)
XYZxyz(7.7072, 5.8778, 26.7096)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D8F #8F7F2D
analogous
#2D6E8F #2D3D8F #4E2D8F
triadic
#2D3D8F #8F2D3D #3D8F2D
tetradic
#2D3D8F #8F2D6E #8F7F2D #2D8F4E
square
#2D3D8F #8F2D6E #8F7F2D #2D8F4E
split-complementary
#2D3D8F #8F4E2D #6E8F2D
monochromatic
#101532 #1E2960 #2D3D8F #3C51BE #6778CF

Accessibility & contrast

On white

9.65
#2D3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D3D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D8F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D8F#FFFFFF#000000##FFFFFF
##2D3D8F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3d8f;
/* rgb */ color: rgb(45, 61, 143);
/* oklch */ color: oklch(39.7% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#7272b0',
    500: '#2d3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d8f;
$custom-light: #7272b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d8f",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 230.204,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.1365,
    "h": 270.6
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#2D3D8F
secondary
#B6A862
accent
#C44CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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