#2B2E9C#2B2E9C

#2B2E9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 273.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2B2E9C
RGBrgb(43, 46, 156)
HSLhsl(238, 57%, 39%)
HSVhsv(238, 72%, 61%)
CMYKcmyk(72.4%, 70.5%, 0%, 38.8%)
CIE-LABlab(26.35, 36.31, -59.90)
CIE-LCHlch(26.35, 70.05, 301.22°)
OKLaboklab(38.02% 0.01 -0.1732)
OKLCHoklch(38.02% 0.173 273.3)
XYZxyz(7.9720, 4.8671, 31.9654)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E9C #9C992B
analogous
#2B679C #2B2E9C #612B9C
triadic
#2B2E9C #9C2B2E #2E9C2B
tetradic
#2B2E9C #9C2B67 #9C992B #2B9C61
square
#2B2E9C #9C2B67 #9C992B #2B9C61
split-complementary
#2B2E9C #9C612B #679C2B
monochromatic
#11123C #1E206C #2B2E9C #3B3FC9 #6B6ED6

Accessibility & contrast

On white

10.64
#2B2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B2E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E9C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E9C#FFFFFF#000000##FFFFFF
##2B2E9C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2e9c;
/* rgb */ color: rgb(43, 46, 156);
/* oklch */ color: oklch(38.0% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#7667ba',
    500: '#2b2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e9c;
$custom-light: #7667ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e9c",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 238.407,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.17349,
    "h": 273.3
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#2B2E9C
secondary
#BDBB66
accent
#DC48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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