#2F3CA2#2F3CA2

#2F3CA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.164 H 271.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2F3CA2
RGBrgb(47, 60, 162)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(71%, 63%, 0%, 36.5%)
CIE-LABlab(30.51, 30.01, -56.73)
CIE-LCHlch(30.51, 64.18, 297.88°)
OKLaboklab(41.28% 0.0044 -0.1637)
OKLCHoklch(41.28% 0.164 271.5)
XYZxyz(9.3075, 6.4438, 34.9287)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CA2 #A2952F
analogous
#2F75A2 #2F3CA2 #5B2FA2
triadic
#2F3CA2 #A22F3C #3CA22F
tetradic
#2F3CA2 #A22F75 #A2952F #2FA25B
square
#2F3CA2 #A22F75 #A2952F #2FA25B
split-complementary
#2F3CA2 #A25B2F #75A22F
monochromatic
#131943 #212A73 #2F3CA2 #4554C9 #7580D7

Accessibility & contrast

On white

9.17
#2F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CA2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CA2#FFFFFF#000000##FFFFFF
##2F3CA21.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f3ca2;
/* rgb */ color: rgb(47, 60, 162);
/* oklch */ color: oklch(41.3% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ca2;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ca2",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 233.217,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.16381,
    "h": 271.5
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#2F3CA2
secondary
#BFB66E
accent
#CE49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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