#2C4F9F#2C4F9F

#2C4F9F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.136 H 263.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C4F9F
RGBrgb(44, 79, 159)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 72%, 62%)
CMYKcmyk(72.3%, 50.3%, 0%, 37.6%)
CIE-LABlab(35.26, 15.80, -47.21)
CIE-LCHlch(35.26, 49.78, 288.50°)
OKLaboklab(44.74% -0.0144 -0.1356)
OKLCHoklch(44.74% 0.136 263.9)
XYZxyz(10.0905, 8.6296, 33.9281)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F9F #9F7C2C
analogous
#2C899F #2C4F9F #432C9F
triadic
#2C4F9F #9F2C4F #4F9F2C
tetradic
#2C4F9F #9F2C89 #9F7C2C #2C9F43
square
#2C4F9F #9F2C89 #9F7C2C #2C9F43
split-complementary
#2C4F9F #9F432C #899F2C
monochromatic
#111F3F #1F376F #2C4F9F #3E69CA #6E8ED7

Accessibility & contrast

On white

7.70
#2C4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4F9F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F9F#FFFFFF#000000##FFFFFF
##2C4F9F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4f9f;
/* rgb */ color: rgb(44, 79, 159);
/* oklch */ color: oklch(44.7% 0.136 263.9);
Tailwind
colors: {
  custom: {
    50: '#747fbc',
    500: '#2c4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f9f;
$custom-light: #747fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f9f",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 221.739,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.13632,
    "h": 263.9
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#2C4F9F
secondary
#BEA469
accent
#B248E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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