#2C43B8#2C43B8

#2C43B8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.186 H 268.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2C43B8
RGBrgb(44, 67, 184)
HSLhsl(230, 61%, 45%)
HSVhsv(230, 76%, 72%)
CMYKcmyk(76.1%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.00, 33.16, -64.15)
CIE-LCHlch(34.00, 72.21, 297.34°)
OKLaboklab(44.4% -0.0041 -0.1855)
OKLCHoklch(44.4% 0.186 268.7)
XYZxyz(11.6946, 8.0092, 46.2677)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43B8 #B8A12C
analogous
#2C89B8 #2C43B8 #5B2CB8
triadic
#2C43B8 #B82C43 #43B82C
tetradic
#2C43B8 #B82C89 #B8A12C #2CB85B
square
#2C43B8 #B82C89 #B8A12C #2CB85B
split-complementary
#2C43B8 #B85B2C #89B82C
monochromatic
#141F55 #203187 #2C43B8 #4D63D4 #7E8EE0

Accessibility & contrast

On white

8.07
#2C43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C43B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43B8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43B8#FFFFFF#000000##FFFFFF
##2C43B81.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c43b8;
/* rgb */ color: rgb(44, 67, 184);
/* oklch */ color: oklch(44.4% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b77ce',
    500: '#2c43b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c43b8;
$custom-light: #7b77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43b8",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 230.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.18555,
    "h": 268.7
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#2C43B8
secondary
#C9BB77
accent
#CA43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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