#2B2E7F#2B2E7F

#2B2E7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.134 H 275.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2B2E7F
RGBrgb(43, 46, 127)
HSLhsl(238, 49%, 33%)
HSVhsv(238, 66%, 50%)
CMYKcmyk(66.1%, 63.8%, 0%, 50.2%)
CIE-LABlab(23.67, 25.89, -46.31)
CIE-LCHlch(23.67, 53.06, 299.21°)
OKLaboklab(35.25% 0.0128 -0.1334)
OKLCHoklch(35.25% 0.134 275.5)
XYZxyz(5.8028, 3.9994, 20.5407)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E7F #7F7C2B
analogous
#2B587F #2B2E7F #522B7F
triadic
#2B2E7F #7F2B2E #2E7F2B
tetradic
#2B2E7F #7F2B58 #7F7C2B #2B7F52
square
#2B2E7F #7F2B58 #7F7C2B #2B7F52
split-complementary
#2B2E7F #7F522B #587F2B
monochromatic
#0C0D24 #1C1D51 #2B2E7F #3A3FAD #5C60C8

Accessibility & contrast

On white

11.67
#2B2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E7F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E7F#FFFFFF#000000##FFFFFF
##2B2E7F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2e7f;
/* rgb */ color: rgb(43, 46, 127);
/* oklch */ color: oklch(35.2% 0.134 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f67a5',
    500: '#2b2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e7f;
$custom-light: #6f67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e7f",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 237.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35246,
    "c": 0.134,
    "h": 275.5
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#2B2E7F
secondary
#AEAB58
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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