#2C4B98#2C4B98

#2C4B98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.131 H 264.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2C4B98
RGBrgb(44, 75, 152)
HSLhsl(223, 55%, 38%)
HSVhsv(223, 71%, 60%)
CMYKcmyk(71.1%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.63, 15.80, -45.61)
CIE-LCHlch(33.63, 48.27, 289.11°)
OKLaboklab(43.34% -0.0116 -0.1309)
OKLCHoklch(43.34% 0.131 264.9)
XYZxyz(9.2203, 7.8337, 30.7258)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B98 #98792C
analogous
#2C8198 #2C4B98 #432C98
triadic
#2C4B98 #982C4B #4B982C
tetradic
#2C4B98 #982C81 #98792C #2C9843
square
#2C4B98 #982C81 #98792C #2C9843
split-complementary
#2C4B98 #98432C #81982C
monochromatic
#111C39 #1E3469 #2C4B98 #3B63C6 #6A89D4

Accessibility & contrast

On white

8.18
#2C4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C4B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B98
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B98#FFFFFF#000000##FFFFFF
##2C4B981.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4b98;
/* rgb */ color: rgb(44, 75, 152);
/* oklch */ color: oklch(43.3% 0.131 264.9);
Tailwind
colors: {
  custom: {
    50: '#737cb7',
    500: '#2c4b98',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b98;
$custom-light: #737cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b98",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 222.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43344,
    "c": 0.13143,
    "h": 264.9
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#2C4B98
secondary
#BBA265
accent
#B449DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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