#2F357E#2F357E

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

Color values

HEX#2F357E
RGBrgb(47, 53, 126)
HSLhsl(235, 46%, 34%)
HSVhsv(235, 63%, 49%)
CMYKcmyk(62.7%, 57.9%, 0%, 50.6%)
CIE-LABlab(25.73, 21.50, -42.31)
CIE-LCHlch(25.73, 47.46, 296.94°)
OKLaboklab(36.82% 0.0109 -0.1215)
OKLCHoklch(36.82% 0.122 275.1)
XYZxyz(6.2101, 4.6564, 20.3061)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357E #7E782F
analogous
#2F5D7E #2F357E #512F7E
triadic
#2F357E #7E2F35 #357E2F
tetradic
#2F357E #7E2F5D #7E782F #2F7E51
square
#2F357E #7E2F5D #7E782F #2F7E51
split-complementary
#2F357E #7E512F #5D7E2F
monochromatic
#0E1025 #1E2251 #2F357E #4048AB #636AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F357E#FFFFFF#000000##FFFFFF
##2F357E1.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)
#004080
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f357e;
/* rgb */ color: rgb(47, 53, 126);
/* oklch */ color: oklch(36.8% 0.122 275.1);
Tailwind
colors: {
  custom: {
    50: '#706ca4',
    500: '#2f357e',
    950: '#000000',
  },
}
SCSS
$custom: #2f357e;
$custom-light: #706ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357e",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 235.443,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.12195,
    "h": 275.1
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#2F357E
secondary
#ACA65D
accent
#CB52D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F357E

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

Preview Lab → · Contrast checker → · Palette generator →

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