#2E4697#2E4697

#2E4697 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.136 H 267.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2E4697
RGBrgb(46, 70, 151)
HSLhsl(226, 53%, 39%)
HSVhsv(226, 70%, 59%)
CMYKcmyk(69.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.25, 19.10, -47.24)
CIE-LCHlch(32.25, 50.95, 292.02°)
OKLaboklab(42.29% -0.0053 -0.1357)
OKLCHoklch(42.29% 0.136 267.8)
XYZxyz(8.9009, 7.1947, 30.1918)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4697 #977F2E
analogous
#2E7A97 #2E4697 #4A2E97
triadic
#2E4697 #972E46 #46972E
tetradic
#2E4697 #972E7A #977F2E #2E974A
square
#2E4697 #972E7A #977F2E #2E974A
split-complementary
#2E4697 #974A2E #7A972E
monochromatic
#111B39 #203068 #2E4697 #3E5DC4 #6D84D2

Accessibility & contrast

On white

8.61
#2E4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4697
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4697#FFFFFF#000000##FFFFFF
##2E46971.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4697;
/* rgb */ color: rgb(46, 70, 151);
/* oklch */ color: oklch(42.3% 0.136 267.8);
Tailwind
colors: {
  custom: {
    50: '#7479b6',
    500: '#2e4697',
    950: '#000000',
  },
}
SCSS
$custom: #2e4697;
$custom-light: #7479b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4697",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 226.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.13584,
    "h": 267.8
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#2E4697
secondary
#BAA767
accent
#BB4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4697

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

Preview Lab → · Contrast checker → · Palette generator →

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