#2B3FAE#2B3FAE

#2B3FAE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.177 H 269.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3FAE
RGBrgb(43, 63, 174)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 68%)
CMYKcmyk(75.3%, 63.8%, 0%, 31.8%)
CIE-LABlab(32.09, 31.96, -61.35)
CIE-LCHlch(32.09, 69.18, 297.52°)
OKLaboklab(42.71% -0.0022 -0.1774)
OKLCHoklch(42.71% 0.177 269.3)
XYZxyz(10.4111, 7.1235, 40.8625)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FAE #AE9A2B
analogous
#2B80AE #2B3FAE #592BAE
triadic
#2B3FAE #AE2B3F #3FAE2B
tetradic
#2B3FAE #AE2B80 #AE9A2B #2BAE59
square
#2B3FAE #AE2B80 #AE9A2B #2BAE59
split-complementary
#2B3FAE #AE592B #80AE2B
monochromatic
#131B4C #1F2D7D #2B3FAE #455AD1 #7686DD

Accessibility & contrast

On white

8.66
#2B3FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B3FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FAE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FAE#FFFFFF#000000##FFFFFF
##2B3FAE1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3fae;
/* rgb */ color: rgb(43, 63, 174);
/* oklch */ color: oklch(42.7% 0.177 269.3);
Tailwind
colors: {
  custom: {
    50: '#7874c7',
    500: '#2b3fae',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fae;
$custom-light: #7874c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fae",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 230.84,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.17738,
    "h": 269.3
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#2B3FAE
secondary
#C5B870
accent
#CB44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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