#2D3F90#2D3F90

#2D3F90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.135 H 269.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2D3F90
RGBrgb(45, 63, 144)
HSLhsl(229, 52%, 37%)
HSVhsv(229, 69%, 56%)
CMYKcmyk(68.7%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.73, 21.03, -47.04)
CIE-LCHlch(29.73, 51.52, 294.09°)
OKLaboklab(40.22% -0.0004 -0.1353)
OKLCHoklch(40.22% 0.135 269.8)
XYZxyz(7.8920, 6.1258, 27.1466)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F90 #907E2D
analogous
#2D7190 #2D3F90 #4D2D90
triadic
#2D3F90 #902D3F #3F902D
tetradic
#2D3F90 #902D71 #907E2D #2D904D
square
#2D3F90 #902D71 #907E2D #2D904D
split-complementary
#2D3F90 #904D2D #71902D
monochromatic
#101633 #1E2B61 #2D3F90 #3C53BF #687BD0

Accessibility & contrast

On white

9.44
#2D3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F90
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F90#FFFFFF#000000##FFFFFF
##2D3F901.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3f90;
/* rgb */ color: rgb(45, 63, 144);
/* oklch */ color: oklch(40.2% 0.135 269.8);
Tailwind
colors: {
  custom: {
    50: '#7273b1',
    500: '#2d3f90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f90;
$custom-light: #7273b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f90",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 229.091,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.13528,
    "h": 269.8
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#2D3F90
secondary
#B6A762
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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