#2E427E#2E427E

#2E427E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.104 H 267.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2E427E
RGBrgb(46, 66, 126)
HSLhsl(225, 47%, 34%)
HSVhsv(225, 63%, 49%)
CMYKcmyk(63.5%, 47.6%, 0%, 50.6%)
CIE-LABlab(29.37, 12.41, -36.46)
CIE-LCHlch(29.37, 38.51, 288.80°)
OKLaboklab(39.56% -0.0043 -0.1041)
OKLCHoklch(39.56% 0.104 267.6)
XYZxyz(6.8395, 5.9830, 20.5290)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427E #7E6A2E
analogous
#2E6A7E #2E427E #422E7E
triadic
#2E427E #7E2E42 #427E2E
tetradic
#2E427E #7E2E6A #7E6A2E #2E7E42
square
#2E427E #7E2E6A #7E6A2E #2E7E42
split-complementary
#2E427E #7E422E #6A7E2E
monochromatic
#0D1324 #1E2B51 #2E427E #3E59AB #617AC5

Accessibility & contrast

On white

9.56
#2E427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E427E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427E#FFFFFF#000000##FFFFFF
##2E427E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e427e;
/* rgb */ color: rgb(46, 66, 126);
/* oklch */ color: oklch(39.6% 0.104 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f76a4',
    500: '#2e427e',
    950: '#000000',
  },
}
SCSS
$custom: #2e427e;
$custom-light: #6f76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427e",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 225,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.10419,
    "h": 267.6
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#2E427E
secondary
#AC985C
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E427E

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

Preview Lab → · Contrast checker → · Palette generator →

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