#2B3095#2B3095

#2B3095 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.162 H 273.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2B3095
RGBrgb(43, 48, 149)
HSLhsl(237, 55%, 38%)
HSVhsv(237, 71%, 58%)
CMYKcmyk(71.1%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.15, 32.56, -55.95)
CIE-LCHlch(26.15, 64.74, 300.20°)
OKLaboklab(37.67% 0.0095 -0.1616)
OKLCHoklch(37.67% 0.162 273.4)
XYZxyz(7.4762, 4.7967, 28.9598)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3095 #95902B
analogous
#2B6595 #2B3095 #5B2B95
triadic
#2B3095 #952B30 #30952B
tetradic
#2B3095 #952B65 #95902B #2B955B
square
#2B3095 #952B65 #95902B #2B955B
split-complementary
#2B3095 #955B2B #65952B
monochromatic
#101136 #1D2166 #2B3095 #393FC4 #676CD3

Accessibility & contrast

On white

10.72
#2B3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3095
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3095#FFFFFF#000000##FFFFFF
##2B30951.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3095;
/* rgb */ color: rgb(43, 48, 149);
/* oklch */ color: oklch(37.7% 0.162 273.4);
Tailwind
colors: {
  custom: {
    50: '#7468b5',
    500: '#2b3095',
    950: '#000000',
  },
}
SCSS
$custom: #2b3095;
$custom-light: #7468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3095",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 237.17,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37669,
    "c": 0.16193,
    "h": 273.4
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2B3095
secondary
#BAB562
accent
#D749DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3095

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

Preview Lab → · Contrast checker → · Palette generator →

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