#2B3FA0#2B3FA0

#2B3FA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.158 H 269.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2B3FA0
RGBrgb(43, 63, 160)
HSLhsl(230, 58%, 40%)
HSVhsv(230, 73%, 63%)
CMYKcmyk(73.1%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.89, 26.76, -54.90)
CIE-LCHlch(30.89, 61.07, 295.99°)
OKLaboklab(41.46% -0.0019 -0.1584)
OKLCHoklch(41.46% 0.158 269.3)
XYZxyz(9.1168, 6.6057, 34.0455)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA0 #A08C2B
analogous
#2B79A0 #2B3FA0 #522BA0
triadic
#2B3FA0 #A02B3F #3FA02B
tetradic
#2B3FA0 #A02B79 #A08C2B #2BA052
square
#2B3FA0 #A02B79 #A08C2B #2BA052
split-complementary
#2B3FA0 #A0522B #79A02B
monochromatic
#111940 #1E2C70 #2B3FA0 #3D55CB #6E80D8

Accessibility & contrast

On white

9.05
#2B3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FA0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA0#FFFFFF#000000##FFFFFF
##2B3FA01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3fa0;
/* rgb */ color: rgb(43, 63, 160);
/* oklch */ color: oklch(41.5% 0.158 269.3);
Tailwind
colors: {
  custom: {
    50: '#7573bd',
    500: '#2b3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa0;
$custom-light: #7573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa0",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 229.744,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41457,
    "c": 0.15845,
    "h": 269.3
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#2B3FA0
secondary
#BFB068
accent
#C747E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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