#2D49AF#2D49AF

#2D49AF is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.166 H 267.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2D49AF
RGBrgb(45, 73, 175)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 74%, 69%)
CMYKcmyk(74.3%, 58.3%, 0%, 31.4%)
CIE-LABlab(34.84, 26.01, -57.46)
CIE-LCHlch(34.84, 63.07, 294.35°)
OKLaboklab(44.8% -0.0073 -0.1658)
OKLCHoklch(44.8% 0.166 267.5)
XYZxyz(11.1999, 8.4169, 41.5835)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49AF #AF932D
analogous
#2D8AAF #2D49AF #522DAF
triadic
#2D49AF #AF2D49 #49AF2D
tetradic
#2D49AF #AF2D8A #AF932D #2DAF52
square
#2D49AF #AF2D8A #AF932D #2DAF52
split-complementary
#2D49AF #AF522D #8AAF2D
monochromatic
#14204E #20357E #2D49AF #4966D0 #7A8FDD

Accessibility & contrast

On white

7.83
#2D49AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2D49AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49AF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49AF#FFFFFF#000000##FFFFFF
##2D49AF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d49af;
/* rgb */ color: rgb(45, 73, 175);
/* oklch */ color: oklch(44.8% 0.166 267.5);
Tailwind
colors: {
  custom: {
    50: '#797bc8',
    500: '#2d49af',
    950: '#000000',
  },
}
SCSS
$custom: #2d49af;
$custom-light: #797bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49af",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 227.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.16593,
    "h": 267.5
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#2D49AF
secondary
#C5B373
accent
#C146E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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