#2B3C95#2B3C95

#2B3C95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.147 H 270.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2B3C95
RGBrgb(43, 60, 149)
HSLhsl(230, 55%, 38%)
HSVhsv(230, 71%, 58%)
CMYKcmyk(71.1%, 59.7%, 0%, 41.6%)
CIE-LABlab(29.20, 24.63, -50.97)
CIE-LCHlch(29.20, 56.61, 295.79°)
OKLaboklab(39.91% 0.0003 -0.1469)
OKLCHoklch(39.91% 0.147 270.1)
XYZxyz(8.0351, 5.9144, 29.1461)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C95 #95842B
analogous
#2B7195 #2B3C95 #4F2B95
triadic
#2B3C95 #952B3C #3C952B
tetradic
#2B3C95 #952B71 #95842B #2B954F
square
#2B3C95 #952B71 #95842B #2B954F
split-complementary
#2B3C95 #954F2B #71952B
monochromatic
#101636 #1D2966 #2B3C95 #394FC4 #6779D3

Accessibility & contrast

On white

9.62
#2B3C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B3C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C95
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C95#FFFFFF#000000##FFFFFF
##2B3C951.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3c95;
/* rgb */ color: rgb(43, 60, 149);
/* oklch */ color: oklch(39.9% 0.147 270.1);
Tailwind
colors: {
  custom: {
    50: '#7371b5',
    500: '#2b3c95',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c95;
$custom-light: #7371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c95",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 230.377,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.14694,
    "h": 270.1
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3C95

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

Preview Lab → · Contrast checker → · Palette generator →

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