#2B2F90#2B2F90

#2B2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.156 H 273.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2F90
RGBrgb(43, 47, 144)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(70.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.44, 31.41, -54.03)
CIE-LCHlch(25.44, 62.49, 300.17°)
OKLaboklab(37.01% 0.0107 -0.156)
OKLCHoklch(37.01% 0.156 273.9)
XYZxyz(7.0451, 4.5596, 26.8890)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F90 #908C2B
analogous
#2B6290 #2B2F90 #5A2B90
triadic
#2B2F90 #902B2F #2F902B
tetradic
#2B2F90 #902B62 #908C2B #2B905A
square
#2B2F90 #902B62 #908C2B #2B905A
split-complementary
#2B2F90 #905A2B #62902B
monochromatic
#0F1032 #1D2061 #2B2F90 #393EBF #6569D1

Accessibility & contrast

On white

10.98
#2B2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F90
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F90#FFFFFF#000000##FFFFFF
##2B2F901.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2f90;
/* rgb */ color: rgb(43, 47, 144);
/* oklch */ color: oklch(37.0% 0.156 273.9);
Tailwind
colors: {
  custom: {
    50: '#7368b1',
    500: '#2b2f90',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f90;
$custom-light: #7368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f90",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 237.624,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37013,
    "c": 0.15639,
    "h": 273.9
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#2B2F90
secondary
#B7B460
accent
#D84ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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