#2B3B95#2B3B95

#2B3B95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.148 H 270.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2B3B95
RGBrgb(43, 59, 149)
HSLhsl(231, 55%, 38%)
HSVhsv(231, 71%, 58%)
CMYKcmyk(71.1%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.93, 25.31, -51.40)
CIE-LCHlch(28.93, 57.30, 296.21°)
OKLaboklab(39.72% 0.0012 -0.1482)
OKLCHoklch(39.72% 0.148 270.4)
XYZxyz(7.9832, 5.8107, 29.1288)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B95 #95852B
analogous
#2B7095 #2B3B95 #502B95
triadic
#2B3B95 #952B3B #3B952B
tetradic
#2B3B95 #952B70 #95852B #2B9550
square
#2B3B95 #952B70 #95852B #2B9550
split-complementary
#2B3B95 #95502B #70952B
monochromatic
#101536 #1D2866 #2B3B95 #394EC4 #6778D3

Accessibility & contrast

On white

9.71
#2B3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B95
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B95#FFFFFF#000000##FFFFFF
##2B3B951.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3b95;
/* rgb */ color: rgb(43, 59, 149);
/* oklch */ color: oklch(39.7% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#7370b5',
    500: '#2b3b95',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b95;
$custom-light: #7370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b95",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 230.943,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.14822,
    "h": 270.4
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#2B3B95
secondary
#BAAC62
accent
#C849DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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