#2B3A90#2B3A90

#2B3A90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.142 H 270.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2B3A90
RGBrgb(43, 58, 144)
HSLhsl(231, 54%, 37%)
HSVhsv(231, 70%, 56%)
CMYKcmyk(70.1%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.25, 24.10, -49.43)
CIE-LCHlch(28.25, 55.00, 295.99°)
OKLaboklab(39.09% 0.002 -0.1424)
OKLCHoklch(39.09% 0.142 270.8)
XYZxyz(7.5417, 5.5526, 27.0545)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A90 #90812B
analogous
#2B6D90 #2B3A90 #4F2B90
triadic
#2B3A90 #902B3A #3A902B
tetradic
#2B3A90 #902B6D #90812B #2B904F
square
#2B3A90 #902B6D #90812B #2B904F
split-complementary
#2B3A90 #904F2B #6D902B
monochromatic
#0F1432 #1D2761 #2B3A90 #394DBF #6575D1

Accessibility & contrast

On white

9.95
#2B3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B3A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A90
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A90#FFFFFF#000000##FFFFFF
##2B3A901.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3a90;
/* rgb */ color: rgb(43, 58, 144);
/* oklch */ color: oklch(39.1% 0.142 270.8);
Tailwind
colors: {
  custom: {
    50: '#7270b1',
    500: '#2b3a90',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a90;
$custom-light: #7270b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a90",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 231.089,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39085,
    "c": 0.14246,
    "h": 270.8
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#2B3A90
secondary
#B7AA60
accent
#C84ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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