#2B3E95#2B3E95

#2B3E95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.144 H 269.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B3E95
RGBrgb(43, 62, 149)
HSLhsl(229, 55%, 38%)
HSVhsv(229, 71%, 58%)
CMYKcmyk(71.1%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.73, 23.28, -50.10)
CIE-LCHlch(29.73, 55.24, 294.93°)
OKLaboklab(40.31% -0.0013 -0.1443)
OKLCHoklch(40.31% 0.144 269.5)
XYZxyz(8.1418, 6.1280, 29.1817)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E95 #95822B
analogous
#2B7395 #2B3E95 #4D2B95
triadic
#2B3E95 #952B3E #3E952B
tetradic
#2B3E95 #952B73 #95822B #2B954D
square
#2B3E95 #952B73 #95822B #2B954D
split-complementary
#2B3E95 #954D2B #73952B
monochromatic
#101636 #1D2A66 #2B3E95 #3952C4 #677BD3

Accessibility & contrast

On white

9.43
#2B3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E95
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E95#FFFFFF#000000##FFFFFF
##2B3E951.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3e95;
/* rgb */ color: rgb(43, 62, 149);
/* oklch */ color: oklch(40.3% 0.144 269.5);
Tailwind
colors: {
  custom: {
    50: '#7373b5',
    500: '#2b3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e95;
$custom-light: #7373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e95",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 229.245,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.14435,
    "h": 269.5
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#2B3E95
secondary
#BAAA62
accent
#C449DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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