#2F68BA#2F68BA

#2F68BA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.3% C 0.142 H 257.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F68BA
RGBrgb(47, 104, 186)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 73%)
CMYKcmyk(74.7%, 44.1%, 0%, 27.1%)
CIE-LABlab(44.30, 10.17, -48.63)
CIE-LCHlch(44.30, 49.68, 281.81°)
OKLaboklab(52.28% -0.0298 -0.1392)
OKLCHoklch(52.28% 0.142 257.9)
XYZxyz(14.9823, 14.0485, 48.3669)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68BA #BA812F
analogous
#2FADBA #2F68BA #3C2FBA
triadic
#2F68BA #BA2F68 #68BA2F
tetradic
#2F68BA #BA2FAD #BA812F #2FBA3C
square
#2F68BA #BA2FAD #BA812F #2FBA3C
split-complementary
#2F68BA #BA3C2F #ADBA2F
monochromatic
#163158 #234D89 #2F68BA #5388D3 #84A9E0

Accessibility & contrast

On white

5.51
#2F68BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F68BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68BA#FFFFFF#000000##FFFFFF
##2F68BA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f68ba;
/* rgb */ color: rgb(47, 104, 186);
/* oklch */ color: oklch(52.3% 0.142 257.9);
Tailwind
colors: {
  custom: {
    50: '#7a92cf',
    500: '#2f68ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f68ba;
$custom-light: #7a92cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68ba",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 186
  },
  "hsl": {
    "h": 215.396,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.1424,
    "h": 257.9
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#2F68BA
secondary
#C9A97C
accent
#A245E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F68BA

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

Preview Lab → · Contrast checker → · Palette generator →

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