#2D45BF#2D45BF

#2D45BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.192 H 268.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D45BF
RGBrgb(45, 69, 191)
HSLhsl(230, 62%, 46%)
HSVhsv(230, 76%, 75%)
CMYKcmyk(76.4%, 63.9%, 0%, 25.1%)
CIE-LABlab(35.15, 34.54, -66.39)
CIE-LCHlch(35.15, 74.83, 297.49°)
OKLaboklab(45.45% -0.0047 -0.192)
OKLCHoklch(45.45% 0.192 268.6)
XYZxyz(12.6110, 8.5743, 50.2705)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D45BF #BFA72D
analogous
#2D8EBF #2D45BF #5E2DBF
triadic
#2D45BF #BF2D45 #45BF2D
tetradic
#2D45BF #BF2D8E #BFA72D #2DBF5E
square
#2D45BF #BF2D8E #BFA72D #2DBF5E
split-complementary
#2D45BF #BF5E2D #8EBF2D
monochromatic
#16215C #21338D #2D45BF #5368D6 #8494E2

Accessibility & contrast

On white

7.73
#2D45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D45BF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D45BF#FFFFFF#000000##FFFFFF
##2D45BF1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d45bf;
/* rgb */ color: rgb(45, 69, 191);
/* oklch */ color: oklch(45.5% 0.192 268.6);
Tailwind
colors: {
  custom: {
    50: '#7d78d3',
    500: '#2d45bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d45bf;
$custom-light: #7d78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d45bf",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 230.137,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.19207,
    "h": 268.6
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#2D45BF
secondary
#CBBE7C
accent
#CA43E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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