#2B307A#2B307A

#2B307A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.124 H 275.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2B307A
RGBrgb(43, 48, 122)
HSLhsl(236, 48%, 32%)
HSVhsv(236, 65%, 48%)
CMYKcmyk(64.8%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.78, 22.70, -42.97)
CIE-LCHlch(23.78, 48.60, 297.84°)
OKLaboklab(35.19% 0.011 -0.1236)
OKLCHoklch(35.19% 0.124 275.1)
XYZxyz(5.5649, 4.0322, 18.8936)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B307A #7A752B
analogous
#2B577A #2B307A #4E2B7A
triadic
#2B307A #7A2B30 #307A2B
tetradic
#2B307A #7A2B57 #7A752B #2B7A4E
square
#2B307A #7A2B57 #7A752B #2B7A4E
split-complementary
#2B307A #7A4E2B #577A2B
monochromatic
#0B0C1F #1B1E4D #2B307A #3B42A7 #5A61C5

Accessibility & contrast

On white

11.62
#2B307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B307A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B307A#FFFFFF#000000##FFFFFF
##2B307A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b307a;
/* rgb */ color: rgb(43, 48, 122);
/* oklch */ color: oklch(35.2% 0.124 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e68a1',
    500: '#2b307a',
    950: '#000000',
  },
}
SCSS
$custom: #2b307a;
$custom-light: #6e68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b307a",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 236.203,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.12405,
    "h": 275.1
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#2B307A
secondary
#ABA556
accent
#CF50D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B307A

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

Preview Lab → · Contrast checker → · Palette generator →

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