#2B3C90#2B3C90

#2B3C90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.140 H 270.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2B3C90
RGBrgb(43, 60, 144)
HSLhsl(230, 54%, 37%)
HSVhsv(230, 70%, 56%)
CMYKcmyk(70.1%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.79, 22.75, -48.56)
CIE-LCHlch(28.79, 53.62, 295.10°)
OKLaboklab(39.49% 0.0002 -0.1398)
OKLCHoklch(39.49% 0.14 270.1)
XYZxyz(7.6444, 5.7582, 27.0887)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C90 #907F2B
analogous
#2B6F90 #2B3C90 #4D2B90
triadic
#2B3C90 #902B3C #3C902B
tetradic
#2B3C90 #902B6F #907F2B #2B904D
square
#2B3C90 #902B6F #907F2B #2B904D
split-complementary
#2B3C90 #904D2B #6F902B
monochromatic
#0F1532 #1D2861 #2B3C90 #3950BF #6577D1

Accessibility & contrast

On white

9.76
#2B3C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C90
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C90#FFFFFF#000000##FFFFFF
##2B3C901.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3c90;
/* rgb */ color: rgb(43, 60, 144);
/* oklch */ color: oklch(39.5% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#7271b1',
    500: '#2b3c90',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c90;
$custom-light: #7271b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c90",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 229.901,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.13984,
    "h": 270.1
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#2B3C90
secondary
#B7A860
accent
#C54ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3C90

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

Preview Lab → · Contrast checker → · Palette generator →

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