#2E4E9C#2E4E9C

#2E4E9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.133 H 264.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2E4E9C
RGBrgb(46, 78, 156)
HSLhsl(223, 54%, 40%)
HSVhsv(223, 71%, 61%)
CMYKcmyk(70.5%, 50%, 0%, 38.8%)
CIE-LABlab(34.86, 15.63, -46.04)
CIE-LCHlch(34.86, 48.62, 288.75°)
OKLaboklab(44.39% -0.0121 -0.1321)
OKLCHoklch(44.39% 0.133 264.8)
XYZxyz(9.8497, 8.4289, 32.5539)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9C #9C7C2E
analogous
#2E859C #2E4E9C #452E9C
triadic
#2E4E9C #9C2E4E #4E9C2E
tetradic
#2E4E9C #9C2E85 #9C7C2E #2E9C45
square
#2E4E9C #9C2E85 #9C7C2E #2E9C45
split-complementary
#2E4E9C #9C452E #859C2E
monochromatic
#121F3D #20366D #2E4E9C #4068C7 #708DD5

Accessibility & contrast

On white

7.82
#2E4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9C#FFFFFF#000000##FFFFFF
##2E4E9C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9c;
/* rgb */ color: rgb(46, 78, 156);
/* oklch */ color: oklch(44.4% 0.133 264.8);
Tailwind
colors: {
  custom: {
    50: '#747fba',
    500: '#2e4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9c;
$custom-light: #747fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9c",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 222.545,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.13267,
    "h": 264.8
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#2E4E9C
secondary
#BCA46A
accent
#B34ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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