#2B3FAA#2B3FAA

#2B3FAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.172 H 269.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2B3FAA
RGBrgb(43, 63, 170)
HSLhsl(231, 60%, 42%)
HSVhsv(231, 75%, 67%)
CMYKcmyk(74.7%, 62.9%, 0%, 33.3%)
CIE-LABlab(31.74, 30.49, -59.53)
CIE-LCHlch(31.74, 66.89, 297.12°)
OKLaboklab(42.35% -0.0021 -0.172)
OKLCHoklch(42.35% 0.172 269.3)
XYZxyz(10.0270, 6.9698, 38.8393)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FAA #AA962B
analogous
#2B7FAA #2B3FAA #572BAA
triadic
#2B3FAA #AA2B3F #3FAA2B
tetradic
#2B3FAA #AA2B7F #AA962B #2BAA57
square
#2B3FAA #AA2B7F #AA962B #2BAA57
split-complementary
#2B3FAA #AA572B #7FAA2B
monochromatic
#121B48 #1F2D79 #2B3FAA #4359CF #7484DC

Accessibility & contrast

On white

8.77
#2B3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FAA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FAA#FFFFFF#000000##FFFFFF
##2B3FAA1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3faa;
/* rgb */ color: rgb(43, 63, 170);
/* oklch */ color: oklch(42.3% 0.172 269.3);
Tailwind
colors: {
  custom: {
    50: '#7774c4',
    500: '#2b3faa',
    950: '#000000',
  },
}
SCSS
$custom: #2b3faa;
$custom-light: #7774c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3faa",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 230.551,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.17204,
    "h": 269.3
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#2B3FAA
secondary
#C3B66E
accent
#CA45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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