#2D50AF#2D50AF

#2D50AF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.157 H 265.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2D50AF
RGBrgb(45, 80, 175)
HSLhsl(224, 59%, 43%)
HSVhsv(224, 74%, 69%)
CMYKcmyk(74.3%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.72, 21.37, -54.39)
CIE-LCHlch(36.72, 58.44, 291.45°)
OKLaboklab(46.22% -0.0127 -0.1567)
OKLCHoklch(46.22% 0.157 265.4)
XYZxyz(11.6860, 9.3891, 41.7455)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50AF #AF8C2D
analogous
#2D91AF #2D50AF #4B2DAF
triadic
#2D50AF #AF2D50 #50AF2D
tetradic
#2D50AF #AF2D91 #AF8C2D #2DAF4B
square
#2D50AF #AF2D91 #AF8C2D #2DAF4B
split-complementary
#2D50AF #AF4B2D #91AF2D
monochromatic
#14234E #203A7E #2D50AF #496DD0 #7A94DD

Accessibility & contrast

On white

7.30
#2D50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50AF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50AF#FFFFFF#000000##FFFFFF
##2D50AF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d50af;
/* rgb */ color: rgb(45, 80, 175);
/* oklch */ color: oklch(46.2% 0.157 265.4);
Tailwind
colors: {
  custom: {
    50: '#7880c8',
    500: '#2d50af',
    950: '#000000',
  },
}
SCSS
$custom: #2d50af;
$custom-light: #7880c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50af",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 223.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.15717,
    "h": 265.4
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#2D50AF
secondary
#C5AF73
accent
#B846E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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