#2B427B#2B427B

#2B427B is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.101 H 265.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B427B
RGBrgb(43, 66, 123)
HSLhsl(223, 48%, 33%)
HSVhsv(223, 65%, 48%)
CMYKcmyk(65%, 46.3%, 0%, 51.8%)
CIE-LABlab(29.00, 10.68, -35.18)
CIE-LCHlch(29.00, 36.76, 286.89°)
OKLaboklab(39.17% -0.0079 -0.1004)
OKLCHoklch(39.17% 0.101 265.5)
XYZxyz(6.5184, 5.8395, 19.5187)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B427B #7B642B
analogous
#2B6A7B #2B427B #3C2B7B
triadic
#2B427B #7B2B42 #427B2B
tetradic
#2B427B #7B2B6A #7B642B #2B7B3C
square
#2B427B #7B2B6A #7B642B #2B7B3C
split-complementary
#2B427B #7B3C2B #6A7B2B
monochromatic
#0B1120 #1B2A4E #2B427B #3B5AA8 #5B7AC6

Accessibility & contrast

On white

9.69
#2B427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B427B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B427B#FFFFFF#000000##FFFFFF
##2B427B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#1A417A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b427b;
/* rgb */ color: rgb(43, 66, 123);
/* oklch */ color: oklch(39.2% 0.101 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d76a1',
    500: '#2b427b',
    950: '#000000',
  },
}
SCSS
$custom: #2b427b;
$custom-light: #6d76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b427b",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 222.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.10071,
    "h": 265.5
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#2B427B
secondary
#AB9356
accent
#B150D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2B427B

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

Preview Lab → · Contrast checker → · Palette generator →

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