#2E367C#2E367C

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

Color values

HEX#2E367C
RGBrgb(46, 54, 124)
HSLhsl(234, 46%, 33%)
HSVhsv(234, 63%, 49%)
CMYKcmyk(62.9%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.78, 19.89, -40.97)
CIE-LCHlch(25.78, 45.55, 295.90°)
OKLaboklab(36.8% 0.0086 -0.1175)
OKLCHoklch(36.8% 0.118 274.2)
XYZxyz(6.0828, 4.6739, 19.6465)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367C #7C742E
analogous
#2E5D7C #2E367C #4D2E7C
triadic
#2E367C #7C2E36 #367C2E
tetradic
#2E367C #7C2E5D #7C742E #2E7C4D
square
#2E367C #7C2E5D #7C742E #2E7C4D
split-complementary
#2E367C #7C4D2E #5D7C2E
monochromatic
#0D0F23 #1D234F #2E367C #3F49A9 #606BC4

Accessibility & contrast

On white

10.85
#2E367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E367C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367C#FFFFFF#000000##FFFFFF
##2E367C1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e367c;
/* rgb */ color: rgb(46, 54, 124);
/* oklch */ color: oklch(36.8% 0.118 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca2',
    500: '#2e367c',
    950: '#000000',
  },
}
SCSS
$custom: #2e367c;
$custom-light: #6f6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367c",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 233.846,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.11784,
    "h": 274.2
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#2E367C
secondary
#ABA35B
accent
#C852D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367C

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

Preview Lab → · Contrast checker → · Palette generator →

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