#2F3288#2F3288

#2F3288 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.140 H 275.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2F3288
RGBrgb(47, 50, 136)
HSLhsl(238, 49%, 36%)
HSVhsv(238, 65%, 53%)
CMYKcmyk(65.4%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.75, 27.15, -48.55)
CIE-LCHlch(25.75, 55.62, 299.22°)
OKLaboklab(37.09% 0.0138 -0.1398)
OKLCHoklch(37.09% 0.14 275.6)
XYZxyz(6.7554, 4.6626, 23.8317)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3288 #88852F
analogous
#2F5E88 #2F3288 #582F88
triadic
#2F3288 #882F32 #32882F
tetradic
#2F3288 #882F5E #88852F #2F8858
square
#2F3288 #882F5E #88852F #2F8858
split-complementary
#2F3288 #88582F #5E882F
monochromatic
#10112D #1F215B #2F3288 #3F43B5 #676ACA

Accessibility & contrast

On white

10.87
#2F3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3288
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3288#FFFFFF#000000##FFFFFF
##2F32881.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3288;
/* rgb */ color: rgb(47, 50, 136);
/* oklch */ color: oklch(37.1% 0.140 275.6);
Tailwind
colors: {
  custom: {
    50: '#726aab',
    500: '#2f3288',
    950: '#000000',
  },
}
SCSS
$custom: #2f3288;
$custom-light: #726aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3288",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 237.978,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.14049,
    "h": 275.6
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#2F3288
secondary
#B1AF61
accent
#D450D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3288

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

Preview Lab → · Contrast checker → · Palette generator →

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