#2B38AE#2B38AE

#2B38AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.186 H 270.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2B38AE
RGBrgb(43, 56, 174)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 68%)
CMYKcmyk(75.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(30.39, 36.45, -64.13)
CIE-LCHlch(30.39, 73.77, 299.61°)
OKLaboklab(41.47% 0.0021 -0.1855)
OKLCHoklch(41.47% 0.186 270.6)
XYZxyz(10.0478, 6.3969, 40.7414)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B38AE #AEA12B
analogous
#2B79AE #2B38AE #602BAE
triadic
#2B38AE #AE2B38 #38AE2B
tetradic
#2B38AE #AE2B79 #AEA12B #2BAE60
square
#2B38AE #AE2B79 #AEA12B #2BAE60
split-complementary
#2B38AE #AE602B #79AE2B
monochromatic
#13184C #1F287D #2B38AE #4553D1 #7680DD

Accessibility & contrast

On white

9.21
#2B38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B38AE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B38AE#FFFFFF#000000##FFFFFF
##2B38AE1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b38ae;
/* rgb */ color: rgb(43, 56, 174);
/* oklch */ color: oklch(41.5% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#796fc7',
    500: '#2b38ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b38ae;
$custom-light: #796fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b38ae",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 234.046,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.18555,
    "h": 270.6
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#2B38AE
secondary
#C5BC70
accent
#D444E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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