#2F368C#2F368C

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

Color values

HEX#2F368C
RGBrgb(47, 54, 140)
HSLhsl(235, 50%, 37%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(66.4%, 61.4%, 0%, 45.1%)
CIE-LABlab(27.12, 25.94, -48.80)
CIE-LCHlch(27.12, 55.27, 297.99°)
OKLaboklab(38.2% 0.01 -0.1405)
OKLCHoklch(38.2% 0.141 274.1)
XYZxyz(7.2235, 5.1355, 25.4164)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F368C #8C852F
analogous
#2F658C #2F368C #572F8C
triadic
#2F368C #8C2F36 #368C2F
tetradic
#2F368C #8C2F65 #8C852F #2F8C57
square
#2F368C #8C2F65 #8C852F #2F8C57
split-complementary
#2F368C #8C572F #658C2F
monochromatic
#101330 #20245E #2F368C #3E48BA #6970CD

Accessibility & contrast

On white

10.36
#2F368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F368C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F368C#FFFFFF#000000##FFFFFF
##2F368C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f368c;
/* rgb */ color: rgb(47, 54, 140);
/* oklch */ color: oklch(38.2% 0.141 274.1);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#2f368c',
    950: '#000000',
  },
}
SCSS
$custom: #2f368c;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f368c",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 235.484,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38204,
    "c": 0.1409,
    "h": 274.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#2F368C
secondary
#B4AE63
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F368C

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

Preview Lab → · Contrast checker → · Palette generator →

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