#2E377C#2E377C

#2E377C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.116 H 273.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2E377C
RGBrgb(46, 55, 124)
HSLhsl(233, 46%, 33%)
HSVhsv(233, 63%, 49%)
CMYKcmyk(62.9%, 55.6%, 0%, 51.4%)
CIE-LABlab(26.06, 19.20, -40.52)
CIE-LCHlch(26.06, 44.84, 295.36°)
OKLaboklab(37% 0.0075 -0.1162)
OKLCHoklch(37% 0.116 273.7)
XYZxyz(6.1298, 4.7680, 19.6622)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377C #7C732E
analogous
#2E5E7C #2E377C #4C2E7C
triadic
#2E377C #7C2E37 #377C2E
tetradic
#2E377C #7C2E5E #7C732E #2E7C4C
square
#2E377C #7C2E5E #7C732E #2E7C4C
split-complementary
#2E377C #7C4C2E #5E7C2E
monochromatic
#0D0F23 #1D234F #2E377C #3F4BA9 #606CC4

Accessibility & contrast

On white

10.75
#2E377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E377C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377C#FFFFFF#000000##FFFFFF
##2E377C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e377c;
/* rgb */ color: rgb(46, 55, 124);
/* oklch */ color: oklch(37.0% 0.116 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f6da2',
    500: '#2e377c',
    950: '#000000',
  },
}
SCSS
$custom: #2e377c;
$custom-light: #6f6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377c",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 233.077,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.11644,
    "h": 273.7
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#2E377C
secondary
#ABA25B
accent
#C652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E377C

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

Preview Lab → · Contrast checker → · Palette generator →

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