#2F368D#2F368D

#2F368D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.142 H 274.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2F368D
RGBrgb(47, 54, 141)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 67%, 55%)
CMYKcmyk(66.7%, 61.7%, 0%, 44.7%)
CIE-LABlab(27.20, 26.31, -49.29)
CIE-LCHlch(27.20, 55.87, 298.09°)
OKLaboklab(38.29% 0.01 -0.142)
OKLCHoklch(38.29% 0.142 274)
XYZxyz(7.2976, 5.1651, 25.8065)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F368D #8D862F
analogous
#2F658D #2F368D #572F8D
triadic
#2F368D #8D2F36 #368D2F
tetradic
#2F368D #8D2F65 #8D862F #2F8D57
square
#2F368D #8D2F65 #8D862F #2F8D57
split-complementary
#2F368D #8D572F #658D2F
monochromatic
#101331 #20245F #2F368D #3E48BB #6971CD

Accessibility & contrast

On white

10.33
#2F368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F368D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F368D#FFFFFF#000000##FFFFFF
##2F368D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f368d;
/* rgb */ color: rgb(47, 54, 141);
/* oklch */ color: oklch(38.3% 0.142 274.0);
Tailwind
colors: {
  custom: {
    50: '#736daf',
    500: '#2f368d',
    950: '#000000',
  },
}
SCSS
$custom: #2f368d;
$custom-light: #736daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f368d",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 235.532,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.14231,
    "h": 274
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#2F368D
secondary
#B4AE64
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F368D

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

Preview Lab → · Contrast checker → · Palette generator →

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