#0F54B2#0F54B2

#0F54B2 is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.4% C 0.163 H 258.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#0F54B2
RGBrgb(15, 84, 178)
HSLhsl(215, 84%, 38%)
HSVhsv(215, 92%, 70%)
CMYKcmyk(91.6%, 52.8%, 0%, 30.2%)
CIE-LABlab(37.22, 17.20, -55.41)
CIE-LCHlch(37.22, 58.02, 287.25°)
OKLaboklab(46.43% -0.0326 -0.1599)
OKLCHoklch(46.43% 0.163 258.5)
XYZxyz(11.4002, 9.6551, 43.3736)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F54B2 #B26D0F
analogous
#0FA6B2 #0F54B2 #1B0FB2
triadic
#0F54B2 #B20F54 #54B20F
tetradic
#0F54B2 #B20FA6 #B26D0F #0FB21B
square
#0F54B2 #B20FA6 #B26D0F #0FB21B
split-complementary
#0F54B2 #B21B0F #A6B20F
monochromatic
#051F41 #0A397A #0F54B2 #146FEA #4C91F0

Accessibility & contrast

On white

7.16
#0F54B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#0F54B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F54B2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F54B2#FFFFFF#000000##FFFFFF
##0F54B21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #0f54b2;
/* rgb */ color: rgb(15, 84, 178);
/* oklch */ color: oklch(46.4% 0.163 258.5);
Tailwind
colors: {
  custom: {
    50: '#7183ca',
    500: '#0f54b2',
    950: '#000000',
  },
}
SCSS
$custom: #0f54b2;
$custom-light: #7183ca;
$custom-dark: #000000;
JSON
{
  "hex": "#0f54b2",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 214.601,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.16324,
    "h": 258.5
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#0F54B2
secondary
#D1994C
accent
#A42DFB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #0F54B2

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

Preview Lab → · Contrast checker → · Palette generator →

#0F54B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva