#2E377A#2E377A

#2E377A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.113 H 273.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2E377A
RGBrgb(46, 55, 122)
HSLhsl(233, 45%, 33%)
HSVhsv(233, 62%, 48%)
CMYKcmyk(62.3%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.92, 18.47, -39.50)
CIE-LCHlch(25.92, 43.60, 295.06°)
OKLaboklab(36.85% 0.0074 -0.1132)
OKLCHoklch(36.85% 0.113 273.7)
XYZxyz(6.0046, 4.7179, 19.0028)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377A #7A712E
analogous
#2E5D7A #2E377A #4B2E7A
triadic
#2E377A #7A2E37 #377A2E
tetradic
#2E377A #7A2E5D #7A712E #2E7A4B
square
#2E377A #7A2E5D #7A712E #2E7A4B
split-complementary
#2E377A #7A4B2E #5D7A2E
monochromatic
#0C0F21 #1D234E #2E377A #3F4BA6 #606BC3

Accessibility & contrast

On white

10.80
#2E377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E377A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377A#FFFFFF#000000##FFFFFF
##2E377A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e377a;
/* rgb */ color: rgb(46, 55, 122);
/* oklch */ color: oklch(36.8% 0.113 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f6da1',
    500: '#2e377a',
    950: '#000000',
  },
}
SCSS
$custom: #2e377a;
$custom-light: #6f6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377a",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 232.895,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.11343,
    "h": 273.7
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#2E377A
secondary
#AAA05A
accent
#C653D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E377A

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

Preview Lab → · Contrast checker → · Palette generator →

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