#2D3089#2D3089

#2D3089 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.145 H 275.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2D3089
RGBrgb(45, 48, 137)
HSLhsl(238, 51%, 36%)
HSVhsv(238, 67%, 54%)
CMYKcmyk(67.2%, 65%, 0%, 46.3%)
CIE-LABlab(25.19, 28.51, -50.09)
CIE-LCHlch(25.19, 57.64, 299.65°)
OKLaboklab(36.67% 0.013 -0.1444)
OKLCHoklch(36.67% 0.145 275.1)
XYZxyz(6.6530, 4.4774, 24.1757)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3089 #89862D
analogous
#2D5E89 #2D3089 #582D89
triadic
#2D3089 #892D30 #30892D
tetradic
#2D3089 #892D5E #89862D #2D8958
square
#2D3089 #892D5E #89862D #2D8958
split-complementary
#2D3089 #89582D #5E892D
monochromatic
#0F102D #1E205B #2D3089 #3C40B7 #6468CC

Accessibility & contrast

On white

11.08
#2D3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3089
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3089#FFFFFF#000000##FFFFFF
##2D30891.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3089;
/* rgb */ color: rgb(45, 48, 137);
/* oklch */ color: oklch(36.7% 0.145 275.1);
Tailwind
colors: {
  custom: {
    50: '#7268ac',
    500: '#2d3089',
    950: '#000000',
  },
}
SCSS
$custom: #2d3089;
$custom-light: #7268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3089",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 238.043,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.14499,
    "h": 275.1
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3089

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

Preview Lab → · Contrast checker → · Palette generator →

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