#2C307B#2C307B

#2C307B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.125 H 275.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2C307B
RGBrgb(44, 48, 123)
HSLhsl(237, 47%, 33%)
HSVhsv(237, 64%, 48%)
CMYKcmyk(64.2%, 61%, 0%, 51.8%)
CIE-LABlab(23.93, 23.25, -43.35)
CIE-LCHlch(23.93, 49.19, 298.20°)
OKLaboklab(35.35% 0.0123 -0.1246)
OKLCHoklch(35.35% 0.125 275.6)
XYZxyz(5.6696, 4.0790, 19.2236)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C307B #7B772C
analogous
#2C577B #2C307B #4F2C7B
triadic
#2C307B #7B2C30 #307B2C
tetradic
#2C307B #7B2C57 #7B772C #2C7B4F
square
#2C307B #7B2C57 #7B772C #2C7B4F
split-complementary
#2C307B #7B4F2C #577B2C
monochromatic
#0C0D21 #1C1E4E #2C307B #3C42A8 #5D62C5

Accessibility & contrast

On white

11.57
#2C307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C307B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C307B#FFFFFF#000000##FFFFFF
##2C307B1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c307b;
/* rgb */ color: rgb(44, 48, 123);
/* oklch */ color: oklch(35.4% 0.125 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e68a2',
    500: '#2c307b',
    950: '#000000',
  },
}
SCSS
$custom: #2c307b;
$custom-light: #6e68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c307b",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 236.962,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.12525,
    "h": 275.6
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#2C307B
secondary
#ABA758
accent
#D051D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C307B

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

Preview Lab → · Contrast checker → · Palette generator →

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