#2B3D90#2B3D90

#2B3D90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.139 H 269.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3D90
RGBrgb(43, 61, 144)
HSLhsl(229, 54%, 37%)
HSVhsv(229, 70%, 56%)
CMYKcmyk(70.1%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.07, 22.07, -48.11)
CIE-LCHlch(29.07, 52.93, 294.64°)
OKLaboklab(39.69% -0.0006 -0.1385)
OKLCHoklch(39.69% 0.139 269.7)
XYZxyz(7.6973, 5.8640, 27.1064)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D90 #907E2B
analogous
#2B7090 #2B3D90 #4C2B90
triadic
#2B3D90 #902B3D #3D902B
tetradic
#2B3D90 #902B70 #907E2B #2B904C
square
#2B3D90 #902B70 #907E2B #2B904C
split-complementary
#2B3D90 #904C2B #70902B
monochromatic
#0F1532 #1D2961 #2B3D90 #3951BF #6578D1

Accessibility & contrast

On white

9.66
#2B3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D90
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D90#FFFFFF#000000##FFFFFF
##2B3D901.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3d90;
/* rgb */ color: rgb(43, 61, 144);
/* oklch */ color: oklch(39.7% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#7272b1',
    500: '#2b3d90',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d90;
$custom-light: #7272b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d90",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 229.307,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.13853,
    "h": 269.7
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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