#2F368E#2F368E

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

Color values

HEX#2F368E
RGBrgb(47, 54, 142)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(66.9%, 62%, 0%, 44.3%)
CIE-LABlab(27.28, 26.67, -49.77)
CIE-LCHlch(27.28, 56.47, 298.18°)
OKLaboklab(38.38% 0.01 -0.1434)
OKLCHoklch(38.38% 0.144 274)
XYZxyz(7.3723, 5.1950, 26.2002)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F368E #8E872F
analogous
#2F668E #2F368E #582F8E
triadic
#2F368E #8E2F36 #368E2F
tetradic
#2F368E #8E2F66 #8E872F #2F8E58
square
#2F368E #8E2F66 #8E872F #2F8E58
split-complementary
#2F368E #8E582F #668E2F
monochromatic
#111332 #202560 #2F368E #3E47BC #6A71CE

Accessibility & contrast

On white

10.30
#2F368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F368E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F368E#FFFFFF#000000##FFFFFF
##2F368E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f368e;
/* rgb */ color: rgb(47, 54, 142);
/* oklch */ color: oklch(38.4% 0.144 274.0);
Tailwind
colors: {
  custom: {
    50: '#736db0',
    500: '#2f368e',
    950: '#000000',
  },
}
SCSS
$custom: #2f368e;
$custom-light: #736db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f368e",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 235.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.14373,
    "h": 274
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F368E

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

Preview Lab → · Contrast checker → · Palette generator →

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