#2B2D90#2B2D90

#2B2D90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.159 H 274.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2B2D90
RGBrgb(43, 45, 144)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(70.1%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.96, 32.69, -54.81)
CIE-LCHlch(24.96, 63.82, 300.81°)
OKLaboklab(36.67% 0.0122 -0.1583)
OKLCHoklch(36.67% 0.159 274.4)
XYZxyz(6.9670, 4.4033, 26.8629)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D90 #908E2B
analogous
#2B6090 #2B2D90 #5C2B90
triadic
#2B2D90 #902B2D #2D902B
tetradic
#2B2D90 #902B60 #908E2B #2B905C
square
#2B2D90 #902B60 #908E2B #2B905C
split-complementary
#2B2D90 #905C2B #60902B
monochromatic
#0F1032 #1D1E61 #2B2D90 #393CBF #6567D1

Accessibility & contrast

On white

11.17
#2B2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D90
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D90#FFFFFF#000000##FFFFFF
##2B2D901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2d90;
/* rgb */ color: rgb(43, 45, 144);
/* oklch */ color: oklch(36.7% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2b2d90',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d90;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d90",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 238.812,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.15879,
    "h": 274.4
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#2B2D90
secondary
#B7B560
accent
#DA4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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