#2F369C#2F369C

#2F369C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.163 H 273.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2F369C
RGBrgb(47, 54, 156)
HSLhsl(236, 54%, 40%)
HSVhsv(236, 70%, 61%)
CMYKcmyk(69.9%, 65.4%, 0%, 38.8%)
CIE-LABlab(28.49, 31.74, -56.38)
CIE-LCHlch(28.49, 64.70, 299.37°)
OKLaboklab(39.64% 0.0093 -0.1628)
OKLCHoklch(39.64% 0.163 273.3)
XYZxyz(8.4902, 5.6422, 32.0877)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F369C #9C952F
analogous
#2F6C9C #2F369C #5F2F9C
triadic
#2F369C #9C2F36 #369C2F
tetradic
#2F369C #9C2F6C #9C952F #2F9C5F
square
#2F369C #9C2F6C #9C952F #2F9C5F
split-complementary
#2F369C #9C5F2F #6C9C2F
monochromatic
#13153E #21266D #2F369C #424BC6 #7178D4

Accessibility & contrast

On white

9.87
#2F369C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F369C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F369C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F369C#FFFFFF#000000##FFFFFF
##2F369C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f369c;
/* rgb */ color: rgb(47, 54, 156);
/* oklch */ color: oklch(39.6% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#776dba',
    500: '#2f369c',
    950: '#000000',
  },
}
SCSS
$custom: #2f369c;
$custom-light: #776dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f369c",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 156
  },
  "hsl": {
    "h": 236.147,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.16304,
    "h": 273.3
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#2F369C
secondary
#BCB76B
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F369C

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

Preview Lab → · Contrast checker → · Palette generator →

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