#2D3087#2D3087

#2D3087 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.142 H 275.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2D3087
RGBrgb(45, 48, 135)
HSLhsl(238, 50%, 35%)
HSVhsv(238, 67%, 53%)
CMYKcmyk(66.7%, 64.4%, 0%, 47.1%)
CIE-LABlab(25.02, 27.79, -49.13)
CIE-LCHlch(25.02, 56.44, 299.50°)
OKLaboklab(36.49% 0.0131 -0.1416)
OKLCHoklch(36.49% 0.142 275.3)
XYZxyz(6.5109, 4.4205, 23.4271)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3087 #87842D
analogous
#2D5D87 #2D3087 #572D87
triadic
#2D3087 #872D30 #30872D
tetradic
#2D3087 #872D5D #87842D #2D8757
square
#2D3087 #872D5D #87842D #2D8757
split-complementary
#2D3087 #87572D #5D872D
monochromatic
#0E0F2B #1E2059 #2D3087 #3C40B5 #6367CB

Accessibility & contrast

On white

11.15
#2D3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3087
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3087#FFFFFF#000000##FFFFFF
##2D30871.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3087;
/* rgb */ color: rgb(45, 48, 135);
/* oklch */ color: oklch(36.5% 0.142 275.3);
Tailwind
colors: {
  custom: {
    50: '#7168ab',
    500: '#2d3087',
    950: '#000000',
  },
}
SCSS
$custom: #2d3087;
$custom-light: #7168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3087",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 238,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36487,
    "c": 0.14219,
    "h": 275.3
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#2D3087
secondary
#B2AF5E
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D3087

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

Preview Lab → · Contrast checker → · Palette generator →

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