#2C4BAF#2C4BAF

#2C4BAF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.164 H 266.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2C4BAF
RGBrgb(44, 75, 175)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(74.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(35.32, 24.56, -56.66)
CIE-LCHlch(35.32, 61.76, 293.43°)
OKLaboklab(45.16% -0.0097 -0.1634)
OKLCHoklch(45.16% 0.164 266.6)
XYZxyz(11.2899, 8.6615, 41.6260)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BAF #AF902C
analogous
#2C8CAF #2C4BAF #4F2CAF
triadic
#2C4BAF #AF2C4B #4BAF2C
tetradic
#2C4BAF #AF2C8C #AF902C #2CAF4F
square
#2C4BAF #AF2C8C #AF902C #2CAF4F
split-complementary
#2C4BAF #AF4F2C #8CAF2C
monochromatic
#13214D #20367E #2C4BAF #4768D1 #7890DD

Accessibility & contrast

On white

7.68
#2C4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C4BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BAF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BAF#FFFFFF#000000##FFFFFF
##2C4BAF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4baf;
/* rgb */ color: rgb(44, 75, 175);
/* oklch */ color: oklch(45.2% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2c4baf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4baf;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4baf",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 225.802,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.16373,
    "h": 266.6
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#2C4BAF
secondary
#C5B172
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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