#2E54AF#2E54AF

#2E54AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.152 H 264.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2E54AF
RGBrgb(46, 84, 175)
HSLhsl(222, 58%, 43%)
HSVhsv(222, 74%, 69%)
CMYKcmyk(73.7%, 52%, 0%, 31.4%)
CIE-LABlab(37.87, 18.86, -52.53)
CIE-LCHlch(37.87, 55.82, 289.75°)
OKLaboklab(47.1% -0.0151 -0.1511)
OKLCHoklch(47.1% 0.152 264.3)
XYZxyz(12.0322, 10.0153, 41.8482)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54AF #AF892E
analogous
#2E94AF #2E54AF #492EAF
triadic
#2E54AF #AF2E54 #54AF2E
tetradic
#2E54AF #AF2E94 #AF892E #2EAF49
square
#2E54AF #AF2E94 #AF892E #2EAF49
split-complementary
#2E54AF #AF492E #94AF2E
monochromatic
#15254E #213D7F #2E54AF #4B72D0 #7B98DC

Accessibility & contrast

On white

6.99
#2E54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2E54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54AF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54AF#FFFFFF#000000##FFFFFF
##2E54AF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e54af;
/* rgb */ color: rgb(46, 84, 175);
/* oklch */ color: oklch(47.1% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#7883c7',
    500: '#2e54af',
    950: '#000000',
  },
}
SCSS
$custom: #2e54af;
$custom-light: #7883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54af",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 222.326,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47104,
    "c": 0.15185,
    "h": 264.3
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#2E54AF
secondary
#C5AD74
accent
#B446E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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