#2D3FA3#2D3FA3

#2D3FA3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.162 H 270.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3FA3
RGBrgb(45, 63, 163)
HSLhsl(231, 57%, 41%)
HSVhsv(231, 72%, 64%)
CMYKcmyk(72.4%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.25, 28.14, -56.13)
CIE-LCHlch(31.25, 62.79, 296.63°)
OKLaboklab(41.83% 0 -0.162)
OKLCHoklch(41.83% 0.162 270)
XYZxyz(9.4683, 6.7563, 35.4483)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FA3 #A3912D
analogous
#2D7AA3 #2D3FA3 #562DA3
triadic
#2D3FA3 #A32D3F #3FA32D
tetradic
#2D3FA3 #A32D7A #A3912D #2DA356
square
#2D3FA3 #A32D7A #A3912D #2DA356
split-complementary
#2D3FA3 #A3562D #7AA32D
monochromatic
#131A43 #202C73 #2D3FA3 #4257CB #7282D8

Accessibility & contrast

On white

8.93
#2D3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3FA3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FA3#FFFFFF#000000##FFFFFF
##2D3FA31.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3fa3;
/* rgb */ color: rgb(45, 63, 163);
/* oklch */ color: oklch(41.8% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#7773bf',
    500: '#2d3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fa3;
$custom-light: #7773bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fa3",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 230.847,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.162,
    "h": 270
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#2D3FA3
secondary
#C0B36C
accent
#C948E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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