#2B307E#2B307E

#2B307E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.130 H 274.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2B307E
RGBrgb(43, 48, 126)
HSLhsl(236, 49%, 33%)
HSVhsv(236, 66%, 49%)
CMYKcmyk(65.9%, 61.9%, 0%, 50.6%)
CIE-LABlab(24.11, 24.17, -44.96)
CIE-LCHlch(24.11, 51.05, 298.26°)
OKLaboklab(35.54% 0.011 -0.1294)
OKLCHoklch(35.54% 0.13 274.9)
XYZxyz(5.8179, 4.1334, 20.2258)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B307E #7E792B
analogous
#2B597E #2B307E #502B7E
triadic
#2B307E #7E2B30 #307E2B
tetradic
#2B307E #7E2B59 #7E792B #2B7E50
square
#2B307E #7E2B59 #7E792B #2B7E50
split-complementary
#2B307E #7E502B #597E2B
monochromatic
#0C0D23 #1B1F50 #2B307E #3B41AC #5C62C7

Accessibility & contrast

On white

11.50
#2B307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B307E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B307E#FFFFFF#000000##FFFFFF
##2B307E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b307e;
/* rgb */ color: rgb(43, 48, 126);
/* oklch */ color: oklch(35.5% 0.130 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f68a4',
    500: '#2b307e',
    950: '#000000',
  },
}
SCSS
$custom: #2b307e;
$custom-light: #6f68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b307e",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 236.386,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.12989,
    "h": 274.9
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#2B307E
secondary
#ADA858
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B307E

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

Preview Lab → · Contrast checker → · Palette generator →

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