#2B3E9E#2B3E9E

#2B3E9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.157 H 269.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B3E9E
RGBrgb(43, 62, 158)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 73%, 62%)
CMYKcmyk(72.8%, 60.8%, 0%, 38%)
CIE-LABlab(30.46, 26.67, -54.39)
CIE-LCHlch(30.46, 60.57, 296.13°)
OKLaboklab(41.09% -0.0012 -0.1569)
OKLCHoklch(41.09% 0.157 269.6)
XYZxyz(8.8883, 6.4266, 33.1131)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E9E #9E8B2B
analogous
#2B789E #2B3E9E #522B9E
triadic
#2B3E9E #9E2B3E #3E9E2B
tetradic
#2B3E9E #9E2B78 #9E8B2B #2B9E52
square
#2B3E9E #9E2B78 #9E8B2B #2B9E52
split-complementary
#2B3E9E #9E522B #789E2B
monochromatic
#11183E #1E2B6E #2B3E9E #3C54CA #6C7ED7

Accessibility & contrast

On white

9.19
#2B3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E9E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E9E#FFFFFF#000000##FFFFFF
##2B3E9E1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3e9e;
/* rgb */ color: rgb(43, 62, 158);
/* oklch */ color: oklch(41.1% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2b3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e9e;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e9e",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 230.087,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.15694,
    "h": 269.6
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#2B3E9E
secondary
#BEB067
accent
#C747E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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