#2E369F#2E369F

#2E369F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.167 H 272.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2E369F
RGBrgb(46, 54, 159)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(71.1%, 66%, 0%, 37.6%)
CIE-LABlab(28.70, 32.68, -57.87)
CIE-LCHlch(28.70, 66.46, 299.46°)
OKLaboklab(39.86% 0.0079 -0.1672)
OKLCHoklch(39.86% 0.167 272.7)
XYZxyz(8.7018, 5.7215, 33.4399)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E369F #9F972E
analogous
#2E6F9F #2E369F #5E2E9F
triadic
#2E369F #9F2E36 #369F2E
tetradic
#2E369F #9F2E6F #9F972E #2E9F5E
square
#2E369F #9F2E6F #9F972E #2E9F5E
split-complementary
#2E369F #9F5E2E #6F9F2E
monochromatic
#131640 #202670 #2E369F #424BC8 #7178D6

Accessibility & contrast

On white

9.79
#2E369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E369F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E369F#FFFFFF#000000##FFFFFF
##2E369F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e369f;
/* rgb */ color: rgb(46, 54, 159);
/* oklch */ color: oklch(39.9% 0.167 272.7);
Tailwind
colors: {
  custom: {
    50: '#776dbc',
    500: '#2e369f',
    950: '#000000',
  },
}
SCSS
$custom: #2e369f;
$custom-light: #776dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e369f",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 235.752,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.16735,
    "h": 272.7
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#2E369F
secondary
#BEB86B
accent
#D449DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E369F

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

Preview Lab → · Contrast checker → · Palette generator →

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