#2E458F#2E458F

#2E458F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.126 H 267.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E458F
RGBrgb(46, 69, 143)
HSLhsl(226, 51%, 37%)
HSVhsv(226, 68%, 56%)
CMYKcmyk(67.8%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.39, 16.76, -43.73)
CIE-LCHlch(31.39, 46.83, 290.97°)
OKLaboklab(41.47% -0.0051 -0.1254)
OKLCHoklch(41.47% 0.126 267.7)
XYZxyz(8.2111, 6.8195, 26.8648)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458F #8F782E
analogous
#2E768F #2E458F #472E8F
triadic
#2E458F #8F2E45 #458F2E
tetradic
#2E458F #8F2E76 #8F782E #2E8F47
square
#2E458F #8F2E76 #8F782E #2E8F47
split-complementary
#2E458F #8F472E #768F2E
monochromatic
#101832 #1F2F61 #2E458F #3D5BBD #6981CF

Accessibility & contrast

On white

8.88
#2E458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E458F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458F#FFFFFF#000000##FFFFFF
##2E458F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e458f;
/* rgb */ color: rgb(46, 69, 143);
/* oklch */ color: oklch(41.5% 0.126 267.7);
Tailwind
colors: {
  custom: {
    50: '#7278b0',
    500: '#2e458f',
    950: '#000000',
  },
}
SCSS
$custom: #2e458f;
$custom-light: #7278b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458f",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 225.773,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.12555,
    "h": 267.7
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#2E458F
secondary
#B6A263
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E458F

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

Preview Lab → · Contrast checker → · Palette generator →

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