#2B2E90#2B2E90

#2B2E90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.158 H 274.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B2E90
RGBrgb(43, 46, 144)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(70.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.20, 32.05, -54.42)
CIE-LCHlch(25.20, 63.16, 300.50°)
OKLaboklab(36.84% 0.0115 -0.1572)
OKLCHoklch(36.84% 0.158 274.2)
XYZxyz(7.0056, 4.4805, 26.8758)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E90 #908D2B
analogous
#2B6190 #2B2E90 #5B2B90
triadic
#2B2E90 #902B2E #2E902B
tetradic
#2B2E90 #902B61 #908D2B #2B905B
square
#2B2E90 #902B61 #908D2B #2B905B
split-complementary
#2B2E90 #905B2B #61902B
monochromatic
#0F1032 #1D1F61 #2B2E90 #393DBF #6568D1

Accessibility & contrast

On white

11.07
#2B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E90
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E90#FFFFFF#000000##FFFFFF
##2B2E901.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2e90;
/* rgb */ color: rgb(43, 46, 144);
/* oklch */ color: oklch(36.8% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#7367b1',
    500: '#2b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e90;
$custom-light: #7367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e90",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 238.218,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.1576,
    "h": 274.2
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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