#2C34B8#2C34B8

#2C34B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 41.9% C 0.202 H 271.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C34B8
RGBrgb(44, 52, 184)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 72%)
CMYKcmyk(76.1%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.52, 42.51, -69.87)
CIE-LCHlch(30.52, 81.78, 301.32°)
OKLaboklab(41.87% 0.0041 -0.2023)
OKLCHoklch(41.87% 0.202 271.2)
XYZxyz(10.9155, 6.4510, 46.0080)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34B8 #B8B02C
analogous
#2C7AB8 #2C34B8 #6A2CB8
triadic
#2C34B8 #B82C34 #34B82C
tetradic
#2C34B8 #B82C7A #B8B02C #2CB86A
square
#2C34B8 #B82C7A #B8B02C #2CB86A
split-complementary
#2C34B8 #B86A2C #7AB82C
monochromatic
#141855 #202687 #2C34B8 #4D55D4 #7E84E0

Accessibility & contrast

On white

9.17
#2C34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C34B8
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34B8#FFFFFF#000000##FFFFFF
##2C34B81.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.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: #2c34b8;
/* rgb */ color: rgb(44, 52, 184);
/* oklch */ color: oklch(41.9% 0.202 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ccf',
    500: '#2c34b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c34b8;
$custom-light: #7c6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34b8",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 236.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.20229,
    "h": 271.2
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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