#2E48A2#2E48A2

#2E48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.149 H 267.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2E48A2
RGBrgb(46, 72, 162)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(71.6%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.61, 21.91, -51.67)
CIE-LCHlch(33.61, 56.13, 292.98°)
OKLaboklab(43.58% -0.0062 -0.1488)
OKLCHoklch(43.58% 0.149 267.6)
XYZxyz(9.9634, 7.8232, 35.1604)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A2 #A2882E
analogous
#2E82A2 #2E48A2 #4E2EA2
triadic
#2E48A2 #A22E48 #48A22E
tetradic
#2E48A2 #A22E82 #A2882E #2EA24E
square
#2E48A2 #A22E82 #A2882E #2EA24E
split-complementary
#2E48A2 #A24E2E #82A22E
monochromatic
#131E43 #203372 #2E48A2 #4362CA #738AD7

Accessibility & contrast

On white

8.19
#2E48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A2#FFFFFF#000000##FFFFFF
##2E48A21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e48a2;
/* rgb */ color: rgb(46, 72, 162);
/* oklch */ color: oklch(43.6% 0.149 267.6);
Tailwind
colors: {
  custom: {
    50: '#767abe',
    500: '#2e48a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a2;
$custom-light: #767abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a2",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 226.552,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.1489,
    "h": 267.6
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#2E48A2
secondary
#BFAD6D
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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