#2E3579#2E3579

#2E3579 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.115 H 274.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3579
RGBrgb(46, 53, 121)
HSLhsl(234, 45%, 33%)
HSVhsv(234, 62%, 47%)
CMYKcmyk(62%, 56.2%, 0%, 52.5%)
CIE-LABlab(25.28, 19.47, -39.89)
CIE-LCHlch(25.28, 44.39, 296.02°)
OKLaboklab(36.35% 0.0095 -0.1144)
OKLCHoklch(36.35% 0.115 274.7)
XYZxyz(5.8499, 4.5071, 18.6471)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3579 #79722E
analogous
#2E5A79 #2E3579 #4C2E79
triadic
#2E3579 #792E35 #35792E
tetradic
#2E3579 #792E5A #79722E #2E794C
square
#2E3579 #792E5A #79722E #2E794C
split-complementary
#2E3579 #794C2E #5A792E
monochromatic
#0C0E20 #1D224D #2E3579 #3F48A5 #5F68C2

Accessibility & contrast

On white

11.04
#2E3579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E3579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3579
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3579#FFFFFF#000000##FFFFFF
##2E35791.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3579;
/* rgb */ color: rgb(46, 53, 121);
/* oklch */ color: oklch(36.3% 0.115 274.7);
Tailwind
colors: {
  custom: {
    50: '#6f6ca0',
    500: '#2e3579',
    950: '#000000',
  },
}
SCSS
$custom: #2e3579;
$custom-light: #6f6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3579",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 234.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36347,
    "c": 0.11475,
    "h": 274.7
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#2E3579
secondary
#A9A25A
accent
#C953D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2E3579

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

Preview Lab → · Contrast checker → · Palette generator →

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