#2B3FA9#2B3FA9

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

Color values

HEX#2B3FA9
RGBrgb(43, 63, 169)
HSLhsl(230, 59%, 42%)
HSVhsv(230, 75%, 66%)
CMYKcmyk(74.6%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.65, 30.12, -59.08)
CIE-LCHlch(31.65, 66.31, 297.01°)
OKLaboklab(42.26% -0.002 -0.1707)
OKLCHoklch(42.26% 0.171 269.3)
XYZxyz(9.9327, 6.9321, 38.3430)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA9 #A9952B
analogous
#2B7EA9 #2B3FA9 #562BA9
triadic
#2B3FA9 #A92B3F #3FA92B
tetradic
#2B3FA9 #A92B7E #A9952B #2BA956
square
#2B3FA9 #A92B7E #A9952B #2BA956
split-complementary
#2B3FA9 #A9562B #7EA92B
monochromatic
#121B47 #1F2D78 #2B3FA9 #4259CF #7384DB

Accessibility & contrast

On white

8.80
#2B3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3FA9
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA9#FFFFFF#000000##FFFFFF
##2B3FA91.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3fa9;
/* rgb */ color: rgb(43, 63, 169);
/* oklch */ color: oklch(42.3% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#7774c3',
    500: '#2b3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa9;
$custom-light: #7774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa9",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 230.476,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.1707,
    "h": 269.3
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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