#2B2E9F#2B2E9F

#2B2E9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 273.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2E9F
RGBrgb(43, 46, 159)
HSLhsl(238, 57%, 40%)
HSVhsv(238, 73%, 62%)
CMYKcmyk(73%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.65, 37.36, -61.24)
CIE-LCHlch(26.65, 71.74, 301.39°)
OKLaboklab(38.32% 0.0096 -0.1771)
OKLCHoklch(38.32% 0.177 273.1)
XYZxyz(8.2292, 4.9700, 33.3198)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E9F #9F9C2B
analogous
#2B689F #2B2E9F #622B9F
triadic
#2B2E9F #9F2B2E #2E9F2B
tetradic
#2B2E9F #9F2B68 #9F9C2B #2B9F62
square
#2B2E9F #9F2B68 #9F9C2B #2B9F62
split-complementary
#2B2E9F #9F622B #689F2B
monochromatic
#11123F #1E206F #2B2E9F #3D40CA #6D70D7

Accessibility & contrast

On white

10.53
#2B2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E9F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E9F#FFFFFF#000000##FFFFFF
##2B2E9F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2e9f;
/* rgb */ color: rgb(43, 46, 159);
/* oklch */ color: oklch(38.3% 0.177 273.1);
Tailwind
colors: {
  custom: {
    50: '#7667bc',
    500: '#2b2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e9f;
$custom-light: #7667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e9f",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 238.448,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.17737,
    "h": 273.1
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#2B2E9F
secondary
#BEBC67
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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