#2B34AF#2B34AF

#2B34AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.191 H 271.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2B34AF
RGBrgb(43, 52, 175)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(75.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(29.57, 39.29, -66.08)
CIE-LCHlch(29.57, 76.88, 300.74°)
OKLaboklab(40.91% 0.0042 -0.1912)
OKLCHoklch(40.91% 0.191 271.2)
XYZxyz(9.9595, 6.0637, 41.1946)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34AF #AFA62B
analogous
#2B76AF #2B34AF #642BAF
triadic
#2B34AF #AF2B34 #34AF2B
tetradic
#2B34AF #AF2B76 #AFA62B #2BAF64
square
#2B34AF #AF2B76 #AFA62B #2BAF64
split-complementary
#2B34AF #AF642B #76AF2B
monochromatic
#13174D #1F257E #2B34AF #464FD1 #777EDE

Accessibility & contrast

On white

9.49
#2B34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34AF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34AF#FFFFFF#000000##FFFFFF
##2B34AF1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b34af;
/* rgb */ color: rgb(43, 52, 175);
/* oklch */ color: oklch(40.9% 0.191 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cc8',
    500: '#2b34af',
    950: '#000000',
  },
}
SCSS
$custom: #2b34af;
$custom-light: #7a6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34af",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 235.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.19128,
    "h": 271.2
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#2B34AF
secondary
#C5C070
accent
#D944E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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