#2E427C#2E427C

#2E427C is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.101 H 267.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E427C
RGBrgb(46, 66, 124)
HSLhsl(225, 46%, 33%)
HSVhsv(225, 63%, 49%)
CMYKcmyk(62.9%, 46.8%, 0%, 51.4%)
CIE-LABlab(29.24, 11.67, -35.42)
CIE-LCHlch(29.24, 37.29, 288.23°)
OKLaboklab(39.41% -0.0047 -0.101)
OKLCHoklch(39.41% 0.101 267.4)
XYZxyz(6.7118, 5.9319, 19.8562)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427C #7C682E
analogous
#2E697C #2E427C #412E7C
triadic
#2E427C #7C2E42 #427C2E
tetradic
#2E427C #7C2E69 #7C682E #2E7C41
square
#2E427C #7C2E69 #7C682E #2E7C41
split-complementary
#2E427C #7C412E #697C2E
monochromatic
#0D1223 #1D2A4F #2E427C #3F5AA9 #607AC4

Accessibility & contrast

On white

9.60
#2E427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E427C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E427C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427C#FFFFFF#000000##FFFFFF
##2E427C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e427c;
/* rgb */ color: rgb(46, 66, 124);
/* oklch */ color: oklch(39.4% 0.101 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f76a2',
    500: '#2e427c',
    950: '#000000',
  },
}
SCSS
$custom: #2e427c;
$custom-light: #6f76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427c",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 224.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.10115,
    "h": 267.4
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#2E427C
secondary
#AB965B
accent
#B452D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E427C

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

Preview Lab → · Contrast checker → · Palette generator →

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