#2F357F#2F357F

#2F357F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.123 H 275.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2F357F
RGBrgb(47, 53, 127)
HSLhsl(236, 46%, 34%)
HSVhsv(236, 63%, 50%)
CMYKcmyk(63%, 58.3%, 0%, 50.2%)
CIE-LABlab(25.81, 21.87, -42.82)
CIE-LCHlch(25.81, 48.08, 297.05°)
OKLaboklab(36.91% 0.0109 -0.1229)
OKLCHoklch(36.91% 0.123 275.1)
XYZxyz(6.2749, 4.6824, 20.6477)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357F #7F792F
analogous
#2F5D7F #2F357F #512F7F
triadic
#2F357F #7F2F35 #357F2F
tetradic
#2F357F #7F2F5D #7F792F #2F7F51
square
#2F357F #7F2F5D #7F792F #2F7F51
split-complementary
#2F357F #7F512F #5D7F2F
monochromatic
#0E1026 #1E2252 #2F357F #4048AC #636AC5

Accessibility & contrast

On white

10.84
#2F357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2F357F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F357F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F357F#FFFFFF#000000##FFFFFF
##2F357F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f357f;
/* rgb */ color: rgb(47, 53, 127);
/* oklch */ color: oklch(36.9% 0.123 275.1);
Tailwind
colors: {
  custom: {
    50: '#706ca5',
    500: '#2f357f',
    950: '#000000',
  },
}
SCSS
$custom: #2f357f;
$custom-light: #706ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357f",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 235.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.12343,
    "h": 275.1
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#2F357F
secondary
#ACA65E
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F357F

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

Preview Lab → · Contrast checker → · Palette generator →

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