#2E4ABC#2E4ABC

#2E4ABC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.182 H 267.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4ABC
RGBrgb(46, 74, 188)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(75.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(36.19, 30.32, -62.92)
CIE-LCHlch(36.19, 69.85, 295.72°)
OKLaboklab(46.15% -0.0069 -0.1818)
OKLCHoklch(46.15% 0.182 267.8)
XYZxyz(12.6494, 9.1079, 48.6585)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4ABC #BCA02E
analogous
#2E91BC #2E4ABC #592EBC
triadic
#2E4ABC #BC2E4A #4ABC2E
tetradic
#2E4ABC #BC2E91 #BCA02E #2EBC59
square
#2E4ABC #BC2E91 #BCA02E #2EBC59
split-complementary
#2E4ABC #BC592E #91BC2E
monochromatic
#16235A #22378B #2E4ABC #526CD5 #8496E1

Accessibility & contrast

On white

7.44
#2E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E4ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4ABC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4ABC#FFFFFF#000000##FFFFFF
##2E4ABC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4abc;
/* rgb */ color: rgb(46, 74, 188);
/* oklch */ color: oklch(46.2% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#7c7cd1',
    500: '#2e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #2e4abc;
$custom-light: #7c7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4abc",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 228.169,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.18192,
    "h": 267.8
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#2E4ABC
secondary
#CABB7C
accent
#C444E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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