#2B3F94#2B3F94

#2B3F94 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.142 H 269.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2B3F94
RGBrgb(43, 63, 148)
HSLhsl(229, 55%, 37%)
HSVhsv(229, 71%, 58%)
CMYKcmyk(70.9%, 57.4%, 0%, 42%)
CIE-LABlab(29.93, 22.23, -49.17)
CIE-LCHlch(29.93, 53.96, 294.33°)
OKLaboklab(40.43% -0.0022 -0.1416)
OKLCHoklch(40.43% 0.142 269.1)
XYZxyz(8.1172, 6.2059, 28.7813)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F94 #94802B
analogous
#2B7494 #2B3F94 #4B2B94
triadic
#2B3F94 #942B3F #3F942B
tetradic
#2B3F94 #942B74 #94802B #2B944B
square
#2B3F94 #942B74 #94802B #2B944B
split-complementary
#2B3F94 #944B2B #74942B
monochromatic
#0F1735 #1D2B65 #2B3F94 #3953C3 #677BD3

Accessibility & contrast

On white

9.37
#2B3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F94
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F94#FFFFFF#000000##FFFFFF
##2B3F941.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3f94;
/* rgb */ color: rgb(43, 63, 148);
/* oklch */ color: oklch(40.4% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#7273b4',
    500: '#2b3f94',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f94;
$custom-light: #7273b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f94",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 228.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.14163,
    "h": 269.1
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#2B3F94
secondary
#B9A862
accent
#C249DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3F94

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

Preview Lab → · Contrast checker → · Palette generator →

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