#2F368B#2F368B

#2F368B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.139 H 274.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2F368B
RGBrgb(47, 54, 139)
HSLhsl(235, 49%, 36%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(66.2%, 61.2%, 0%, 45.5%)
CIE-LABlab(27.03, 25.58, -48.32)
CIE-LCHlch(27.03, 54.67, 297.89°)
OKLaboklab(38.12% 0.01 -0.1391)
OKLCHoklch(38.12% 0.139 274.1)
XYZxyz(7.1501, 5.1061, 25.0299)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F368B #8B842F
analogous
#2F648B #2F368B #562F8B
triadic
#2F368B #8B2F36 #368B2F
tetradic
#2F368B #8B2F64 #8B842F #2F8B56
square
#2F368B #8B2F64 #8B842F #2F8B56
split-complementary
#2F368B #8B562F #648B2F
monochromatic
#101230 #20245D #2F368B #3E48B9 #6870CC

Accessibility & contrast

On white

10.39
#2F368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F368B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F368B#FFFFFF#000000##FFFFFF
##2F368B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f368b;
/* rgb */ color: rgb(47, 54, 139);
/* oklch */ color: oklch(38.1% 0.139 274.1);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#2f368b',
    950: '#000000',
  },
}
SCSS
$custom: #2f368b;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f368b",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 235.435,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.13947,
    "h": 274.1
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#2F368B
secondary
#B3AD63
accent
#CE4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F368B

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

Preview Lab → · Contrast checker → · Palette generator →

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