#2B3F90#2B3F90

#2B3F90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.136 H 269.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2B3F90
RGBrgb(43, 63, 144)
HSLhsl(228, 54%, 37%)
HSVhsv(228, 70%, 56%)
CMYKcmyk(70.1%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.62, 20.71, -47.22)
CIE-LCHlch(29.62, 51.56, 293.68°)
OKLaboklab(40.1% -0.0024 -0.1359)
OKLCHoklch(40.1% 0.136 269)
XYZxyz(7.8061, 6.0815, 27.1426)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F90 #907C2B
analogous
#2B7290 #2B3F90 #4A2B90
triadic
#2B3F90 #902B3F #3F902B
tetradic
#2B3F90 #902B72 #907C2B #2B904A
square
#2B3F90 #902B72 #907C2B #2B904A
split-complementary
#2B3F90 #904A2B #72902B
monochromatic
#0F1632 #1D2A61 #2B3F90 #3954BF #657AD1

Accessibility & contrast

On white

9.47
#2B3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F90
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F90#FFFFFF#000000##FFFFFF
##2B3F901.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3f90;
/* rgb */ color: rgb(43, 63, 144);
/* oklch */ color: oklch(40.1% 0.136 269.0);
Tailwind
colors: {
  custom: {
    50: '#7173b1',
    500: '#2b3f90',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f90;
$custom-light: #7173b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f90",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 228.119,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.13589,
    "h": 269
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#2B3F90
secondary
#B7A660
accent
#C04ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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