#2E45B3#2E45B3

#2E45B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.176 H 268.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E45B3
RGBrgb(46, 69, 179)
HSLhsl(230, 59%, 44%)
HSVhsv(230, 74%, 70%)
CMYKcmyk(74.3%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.17, 30.25, -60.91)
CIE-LCHlch(34.17, 68.01, 296.41°)
OKLaboklab(44.42% -0.0035 -0.1759)
OKLCHoklch(44.42% 0.176 268.9)
XYZxyz(11.3887, 8.0905, 43.6005)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45B3 #B39C2E
analogous
#2E88B3 #2E45B3 #5A2EB3
triadic
#2E45B3 #B32E45 #45B32E
tetradic
#2E45B3 #B32E88 #B39C2E #2EB35A
square
#2E45B3 #B32E88 #B39C2E #2EB35A
split-complementary
#2E45B3 #B35A2E #88B32E
monochromatic
#151F52 #213282 #2E45B3 #4D64D1 #7E8EDE

Accessibility & contrast

On white

8.02
#2E45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E45B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45B3#FFFFFF#000000##FFFFFF
##2E45B31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e45b3;
/* rgb */ color: rgb(46, 69, 179);
/* oklch */ color: oklch(44.4% 0.176 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a78cb',
    500: '#2e45b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e45b3;
$custom-light: #7a78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45b3",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 229.624,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.17598,
    "h": 268.9
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#2E45B3
secondary
#C6B976
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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