#2B34B8#2B34B8

#2B34B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.203 H 270.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B34B8
RGBrgb(43, 52, 184)
HSLhsl(236, 62%, 45%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(76.6%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.47, 42.42, -69.96)
CIE-LCHlch(30.47, 81.81, 301.23°)
OKLaboklab(41.82% 0.003 -0.2025)
OKLCHoklch(41.82% 0.203 270.9)
XYZxyz(10.8730, 6.4291, 46.0060)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34B8 #B8AF2B
analogous
#2B7BB8 #2B34B8 #682BB8
triadic
#2B34B8 #B82B34 #34B82B
tetradic
#2B34B8 #B82B7B #B8AF2B #2BB868
square
#2B34B8 #B82B7B #B8AF2B #2BB868
split-complementary
#2B34B8 #B8682B #7BB82B
monochromatic
#141855 #1F2686 #2B34B8 #4B54D5 #7D83E1

Accessibility & contrast

On white

9.19
#2B34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34B8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34B8#FFFFFF#000000##FFFFFF
##2B34B81.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b34b8;
/* rgb */ color: rgb(43, 52, 184);
/* oklch */ color: oklch(41.8% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c6ccf',
    500: '#2b34b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b34b8;
$custom-light: #7c6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34b8",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 236.17,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.20255,
    "h": 270.9
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#2B34B8
secondary
#C9C476
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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