#2B3EAE#2B3EAE

#2B3EAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.179 H 269.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3EAE
RGBrgb(43, 62, 174)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 68%)
CMYKcmyk(75.3%, 64.4%, 0%, 31.8%)
CIE-LABlab(31.84, 32.61, -61.76)
CIE-LCHlch(31.84, 69.84, 297.84°)
OKLaboklab(42.53% -0.0016 -0.1786)
OKLCHoklch(42.53% 0.179 269.5)
XYZxyz(10.3562, 7.0137, 40.8442)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EAE #AE9B2B
analogous
#2B7FAE #2B3EAE #5A2BAE
triadic
#2B3EAE #AE2B3E #3EAE2B
tetradic
#2B3EAE #AE2B7F #AE9B2B #2BAE5A
square
#2B3EAE #AE2B7F #AE9B2B #2BAE5A
split-complementary
#2B3EAE #AE5A2B #7FAE2B
monochromatic
#131B4C #1F2D7D #2B3EAE #4559D1 #7685DD

Accessibility & contrast

On white

8.74
#2B3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EAE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EAE#FFFFFF#000000##FFFFFF
##2B3EAE1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3eae;
/* rgb */ color: rgb(43, 62, 174);
/* oklch */ color: oklch(42.5% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#7973c7',
    500: '#2b3eae',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eae;
$custom-light: #7973c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eae",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 231.298,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.17858,
    "h": 269.5
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#2B3EAE
secondary
#C5B970
accent
#CC44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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