#2B247E#2B247E

#2B247E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.145 H 278.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2B247E
RGBrgb(43, 36, 126)
HSLhsl(245, 56%, 32%)
HSVhsv(245, 71%, 49%)
CMYKcmyk(65.9%, 71.4%, 0%, 50.6%)
CIE-LABlab(21.14, 32.05, -49.82)
CIE-LCHlch(21.14, 59.23, 302.75°)
OKLaboklab(33.38% 0.0215 -0.1437)
OKLCHoklch(33.38% 0.145 278.5)
XYZxyz(5.3918, 3.2813, 20.0838)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B247E #777E24
analogous
#244A7E #2B247E #58247E
triadic
#2B247E #7E2B24 #247E2B
tetradic
#2B247E #7E244A #777E24 #247E58
square
#2B247E #7E244A #777E24 #247E58
split-complementary
#2B247E #7E5824 #4A7E24
monochromatic
#0B091F #1B164E #2B247E #3B32AE #5950CD

Accessibility & contrast

On white

12.68
#2B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B247E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B247E#FFFFFF#000000##FFFFFF
##2B247E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b247e;
/* rgb */ color: rgb(43, 36, 126);
/* oklch */ color: oklch(33.4% 0.145 278.5);
Tailwind
colors: {
  custom: {
    50: '#7060a4',
    500: '#2b247e',
    950: '#000000',
  },
}
SCSS
$custom: #2b247e;
$custom-light: #7060a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b247e",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 244.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.14531,
    "h": 278.5
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#2B247E
secondary
#A9B04E
accent
#DF49D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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