#2D3FA0#2D3FA0

#2D3FA0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.158 H 270.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D3FA0
RGBrgb(45, 63, 160)
HSLhsl(231, 56%, 40%)
HSVhsv(231, 72%, 63%)
CMYKcmyk(71.9%, 60.6%, 0%, 37.3%)
CIE-LABlab(31.00, 27.02, -54.72)
CIE-LCHlch(31.00, 61.03, 296.28°)
OKLaboklab(41.56% 0.0001 -0.1579)
OKLCHoklch(41.56% 0.158 270)
XYZxyz(9.2027, 6.6500, 34.0495)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FA0 #A08E2D
analogous
#2D78A0 #2D3FA0 #552DA0
triadic
#2D3FA0 #A02D3F #3FA02D
tetradic
#2D3FA0 #A02D78 #A08E2D #2DA055
square
#2D3FA0 #A02D78 #A08E2D #2DA055
split-complementary
#2D3FA0 #A0552D #78A02D
monochromatic
#121940 #202C70 #2D3FA0 #4156C9 #7081D7

Accessibility & contrast

On white

9.01
#2D3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3FA0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FA0#FFFFFF#000000##FFFFFF
##2D3FA01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3fa0;
/* rgb */ color: rgb(45, 63, 160);
/* oklch */ color: oklch(41.6% 0.158 270.0);
Tailwind
colors: {
  custom: {
    50: '#7673bd',
    500: '#2d3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fa0;
$custom-light: #7673bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fa0",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 230.609,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.15788,
    "h": 270
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#2D3FA0
secondary
#BEB16B
accent
#C848DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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