#2D46AF#2D46AF

#2D46AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 268.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2D46AF
RGBrgb(45, 70, 175)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74.3%, 60%, 0%, 31.4%)
CIE-LABlab(34.05, 27.99, -58.74)
CIE-LCHlch(34.05, 65.06, 295.48°)
OKLaboklab(44.22% -0.0051 -0.1696)
OKLCHoklch(44.22% 0.17 268.3)
XYZxyz(11.0075, 8.0322, 41.5194)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46AF #AF962D
analogous
#2D87AF #2D46AF #552DAF
triadic
#2D46AF #AF2D46 #46AF2D
tetradic
#2D46AF #AF2D87 #AF962D #2DAF55
square
#2D46AF #AF2D87 #AF962D #2DAF55
split-complementary
#2D46AF #AF552D #87AF2D
monochromatic
#141F4E #20337E #2D46AF #4963D0 #7A8DDD

Accessibility & contrast

On white

8.06
#2D46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46AF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46AF#FFFFFF#000000##FFFFFF
##2D46AF1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d46af;
/* rgb */ color: rgb(45, 70, 175);
/* oklch */ color: oklch(44.2% 0.170 268.3);
Tailwind
colors: {
  custom: {
    50: '#7979c8',
    500: '#2d46af',
    950: '#000000',
  },
}
SCSS
$custom: #2d46af;
$custom-light: #7979c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46af",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 228.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.16966,
    "h": 268.3
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#2D46AF
secondary
#C5B573
accent
#C446E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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