#2B2B90#2B2B90

#2B2B90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.161 H 274.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2B90
RGBrgb(43, 43, 144)
HSLhsl(240, 54%, 37%)
HSVhsv(240, 70%, 56%)
CMYKcmyk(70.1%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.49, 33.96, -55.58)
CIE-LCHlch(24.49, 65.13, 301.42°)
OKLaboklab(36.33% 0.0136 -0.1606)
OKLCHoklch(36.33% 0.161 274.8)
XYZxyz(6.8925, 4.2543, 26.8381)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B90 #90902B
analogous
#2B5E90 #2B2B90 #5E2B90
triadic
#2B2B90 #902B2B #2B902B
tetradic
#2B2B90 #902B5E #90902B #2B905E
square
#2B2B90 #902B5E #90902B #2B905E
split-complementary
#2B2B90 #905E2B #5E902B
monochromatic
#0F0F32 #1D1D61 #2B2B90 #3939BF #6565D1

Accessibility & contrast

On white

11.35
#2B2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B90
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B90#FFFFFF#000000##FFFFFF
##2B2B901.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2b90;
/* rgb */ color: rgb(43, 43, 144);
/* oklch */ color: oklch(36.3% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#7365b2',
    500: '#2b2b90',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b90;
$custom-light: #7365b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b90",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.16114,
    "h": 274.8
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#2B2B90
secondary
#B7B760
accent
#DD4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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