#2D3A7B#2D3A7B

#2D3A7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.111 H 271.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3A7B
RGBrgb(45, 58, 123)
HSLhsl(230, 46%, 33%)
HSVhsv(230, 63%, 48%)
CMYKcmyk(63.4%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.77, 16.57, -38.75)
CIE-LCHlch(26.77, 42.15, 293.15°)
OKLaboklab(37.5% 0.003 -0.111)
OKLCHoklch(37.5% 0.111 271.6)
XYZxyz(6.1692, 5.0136, 19.3777)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A7B #7B6E2D
analogous
#2D617B #2D3A7B #472D7B
triadic
#2D3A7B #7B2D3A #3A7B2D
tetradic
#2D3A7B #7B2D61 #7B6E2D #2D7B47
square
#2D3A7B #7B2D61 #7B6E2D #2D7B47
split-complementary
#2D3A7B #7B472D #617B2D
monochromatic
#0C1021 #1D254E #2D3A7B #3D4FA8 #5E6FC4

Accessibility & contrast

On white

10.49
#2D3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D3A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A7B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A7B#FFFFFF#000000##FFFFFF
##2D3A7B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3a7b;
/* rgb */ color: rgb(45, 58, 123);
/* oklch */ color: oklch(37.5% 0.111 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fa2',
    500: '#2d3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a7b;
$custom-light: #6e6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a7b",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 230,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.11101,
    "h": 271.6
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#2D3A7B
secondary
#AB9D59
accent
#C052D6
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2D3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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