#2E438F#2E438F

#2E438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.128 H 268.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2E438F
RGBrgb(46, 67, 143)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 68%, 56%)
CMYKcmyk(67.8%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.83, 18.11, -44.64)
CIE-LCHlch(30.83, 48.18, 292.08°)
OKLaboklab(41.04% -0.0032 -0.1282)
OKLCHoklch(41.04% 0.128 268.6)
XYZxyz(8.0901, 6.5776, 26.8245)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E438F #8F7A2E
analogous
#2E748F #2E438F #492E8F
triadic
#2E438F #8F2E43 #438F2E
tetradic
#2E438F #8F2E74 #8F7A2E #2E8F49
square
#2E438F #8F2E74 #8F7A2E #2E8F49
split-complementary
#2E438F #8F492E #748F2E
monochromatic
#101832 #1F2D61 #2E438F #3D59BD #697FCF

Accessibility & contrast

On white

9.07
#2E438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E438F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E438F#FFFFFF#000000##FFFFFF
##2E438F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e438f;
/* rgb */ color: rgb(46, 67, 143);
/* oklch */ color: oklch(41.0% 0.128 268.6);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2e438f',
    950: '#000000',
  },
}
SCSS
$custom: #2e438f;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e438f",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 227.01,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41036,
    "c": 0.1282,
    "h": 268.6
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#2E438F
secondary
#B6A463
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E438F

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

Preview Lab → · Contrast checker → · Palette generator →

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