#2D3088#2D3088

#2D3088 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.144 H 275.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D3088
RGBrgb(45, 48, 136)
HSLhsl(238, 50%, 35%)
HSVhsv(238, 67%, 53%)
CMYKcmyk(66.9%, 64.7%, 0%, 46.7%)
CIE-LABlab(25.10, 28.15, -49.61)
CIE-LCHlch(25.10, 57.04, 299.58°)
OKLaboklab(36.58% 0.013 -0.143)
OKLCHoklch(36.58% 0.144 275.2)
XYZxyz(6.5816, 4.4488, 23.7996)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3088 #88852D
analogous
#2D5D88 #2D3088 #572D88
triadic
#2D3088 #882D30 #30882D
tetradic
#2D3088 #882D5D #88852D #2D8857
square
#2D3088 #882D5D #88852D #2D8857
split-complementary
#2D3088 #88572D #5D882D
monochromatic
#0F102C #1E205A #2D3088 #3C40B6 #6467CC

Accessibility & contrast

On white

11.11
#2D3088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D3088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3088
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3088#FFFFFF#000000##FFFFFF
##2D30881.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3088;
/* rgb */ color: rgb(45, 48, 136);
/* oklch */ color: oklch(36.6% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#7268ab',
    500: '#2d3088',
    950: '#000000',
  },
}
SCSS
$custom: #2d3088;
$custom-light: #7268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3088",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 238.022,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.14359,
    "h": 275.2
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3088

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

Preview Lab → · Contrast checker → · Palette generator →

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