#2D3370#2D3370

#2D3370 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.104 H 275.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2D3370
RGBrgb(45, 51, 112)
HSLhsl(235, 43%, 31%)
HSVhsv(235, 60%, 44%)
CMYKcmyk(59.8%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.98, 17.35, -36.26)
CIE-LCHlch(23.98, 40.19, 295.57°)
OKLaboklab(35.14% 0.0099 -0.1037)
OKLCHoklch(35.14% 0.104 275.4)
XYZxyz(5.1897, 4.0950, 15.8430)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3370 #706A2D
analogous
#2D5470 #2D3370 #482D70
triadic
#2D3370 #702D33 #33702D
tetradic
#2D3370 #702D54 #706A2D #2D7048
square
#2D3370 #702D54 #706A2D #2D7048
split-complementary
#2D3370 #70482D #54702D
monochromatic
#0A0B19 #1B1F44 #2D3370 #3F479C #5A63BD

Accessibility & contrast

On white

11.54
#2D3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3370
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3370#FFFFFF#000000##FFFFFF
##2D33701.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#04366F
Tritanopia (blue-blind)
#05414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3370;
/* rgb */ color: rgb(45, 51, 112);
/* oklch */ color: oklch(35.1% 0.104 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d6a99',
    500: '#2d3370',
    950: '#000000',
  },
}
SCSS
$custom: #2d3370;
$custom-light: #6d6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3370",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 234.627,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.10419,
    "h": 275.4
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#2D3370
secondary
#A29B57
accent
#C755D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3370

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

Preview Lab → · Contrast checker → · Palette generator →

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