#2B307F#2B307F

#2B307F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.131 H 274.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2B307F
RGBrgb(43, 48, 127)
HSLhsl(236, 49%, 33%)
HSVhsv(236, 66%, 50%)
CMYKcmyk(66.1%, 62.2%, 0%, 50.2%)
CIE-LABlab(24.19, 24.54, -45.46)
CIE-LCHlch(24.19, 51.66, 298.36°)
OKLaboklab(35.63% 0.011 -0.1309)
OKLCHoklch(35.63% 0.131 274.8)
XYZxyz(5.8827, 4.1593, 20.5674)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B307F #7F7A2B
analogous
#2B5A7F #2B307F #502B7F
triadic
#2B307F #7F2B30 #307F2B
tetradic
#2B307F #7F2B5A #7F7A2B #2B7F50
square
#2B307F #7F2B5A #7F7A2B #2B7F50
split-complementary
#2B307F #7F502B #5A7F2B
monochromatic
#0C0D24 #1C1F51 #2B307F #3A41AD #5C63C8

Accessibility & contrast

On white

11.46
#2B307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B307F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B307F#FFFFFF#000000##FFFFFF
##2B307F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b307f;
/* rgb */ color: rgb(43, 48, 127);
/* oklch */ color: oklch(35.6% 0.131 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f68a5',
    500: '#2b307f',
    950: '#000000',
  },
}
SCSS
$custom: #2b307f;
$custom-light: #6f68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b307f",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 236.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3563,
    "c": 0.13133,
    "h": 274.8
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#2B307F
secondary
#AEA958
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B307F

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

Preview Lab → · Contrast checker → · Palette generator →

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