#2F366C#2F366C

#2F366C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.093 H 275.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2F366C
RGBrgb(47, 54, 108)
HSLhsl(233, 39%, 30%)
HSVhsv(233, 56%, 42%)
CMYKcmyk(56.5%, 50%, 0%, 57.6%)
CIE-LABlab(24.72, 14.27, -32.50)
CIE-LCHlch(24.72, 35.50, 293.71°)
OKLaboklab(35.64% 0.0083 -0.0926)
OKLCHoklch(35.64% 0.093 275.1)
XYZxyz(5.1974, 4.3250, 14.7454)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366C #6C652F
analogous
#2F546C #2F366C #462F6C
triadic
#2F366C #6C2F36 #366C2F
tetradic
#2F366C #6C2F54 #6C652F #2F6C46
square
#2F366C #6C2F54 #6C652F #2F6C46
split-complementary
#2F366C #6C462F #546C2F
monochromatic
#0A0B17 #1C2141 #2F366C #424B97 #5D67B8

Accessibility & contrast

On white

11.26
#2F366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F366C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366C#FFFFFF#000000##FFFFFF
##2F366C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6E
Deuteranopia (green-blind)
#16386B
Tritanopia (blue-blind)
#12424B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f366c;
/* rgb */ color: rgb(47, 54, 108);
/* oklch */ color: oklch(35.6% 0.093 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d6c96',
    500: '#2f366c',
    950: '#000000',
  },
}
SCSS
$custom: #2f366c;
$custom-light: #6d6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366c",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 233.115,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.09296,
    "h": 275.1
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#2F366C
secondary
#9D9659
accent
#C259CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F366C

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

Preview Lab → · Contrast checker → · Palette generator →

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