#2C367F#2C367F

#2C367F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.123 H 273.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2C367F
RGBrgb(44, 54, 127)
HSLhsl(233, 49%, 34%)
HSVhsv(233, 65%, 50%)
CMYKcmyk(65.4%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.88, 20.62, -42.72)
CIE-LCHlch(25.88, 47.43, 295.77°)
OKLaboklab(36.9% 0.0063 -0.1227)
OKLCHoklch(36.9% 0.123 273)
XYZxyz(6.1874, 4.7056, 20.6568)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C367F #7F752C
analogous
#2C5F7F #2C367F #4B2C7F
triadic
#2C367F #7F2C36 #367F2C
tetradic
#2C367F #7F2C5F #7F752C #2C7F4B
square
#2C367F #7F2C5F #7F752C #2C7F4B
split-complementary
#2C367F #7F4B2C #5F7F2C
monochromatic
#0D0F24 #1C2352 #2C367F #3C49AC #5E6BC7

Accessibility & contrast

On white

10.82
#2C367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C367F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C367F#FFFFFF#000000##FFFFFF
##2C367F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c367f;
/* rgb */ color: rgb(44, 54, 127);
/* oklch */ color: oklch(36.9% 0.123 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f6ca5',
    500: '#2c367f',
    950: '#000000',
  },
}
SCSS
$custom: #2c367f;
$custom-light: #6f6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c367f",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 232.771,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.12287,
    "h": 273
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#2C367F
secondary
#ADA359
accent
#C850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C367F

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

Preview Lab → · Contrast checker → · Palette generator →

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