#0F57B2#0F57B2

#0F57B2 is a mid, vivid cyan. Relative luminance 0.101; OKLCH L 47.1% C 0.160 H 257.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#0F57B2
RGBrgb(15, 87, 178)
HSLhsl(213, 84%, 38%)
HSVhsv(213, 92%, 70%)
CMYKcmyk(91.6%, 51.1%, 0%, 30.2%)
CIE-LABlab(38.08, 15.20, -54.01)
CIE-LCHlch(38.08, 56.11, 285.72°)
OKLaboklab(47.09% -0.0345 -0.1558)
OKLCHoklch(47.09% 0.16 257.5)
XYZxyz(11.6381, 10.1308, 43.4529)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F57B2 #B26A0F
analogous
#0FA8B2 #0F57B2 #190FB2
triadic
#0F57B2 #B20F57 #57B20F
tetradic
#0F57B2 #B20FA8 #B26A0F #0FB219
square
#0F57B2 #B20FA8 #B26A0F #0FB219
split-complementary
#0F57B2 #B2190F #A8B20F
monochromatic
#052041 #0A3B7A #0F57B2 #1473EA #4C94F0

Accessibility & contrast

On white

6.94
#0F57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#0F57B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F57B2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F57B2#FFFFFF#000000##FFFFFF
##0F57B21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f57b2;
/* rgb */ color: rgb(15, 87, 178);
/* oklch */ color: oklch(47.1% 0.160 257.5);
Tailwind
colors: {
  custom: {
    50: '#7185ca',
    500: '#0f57b2',
    950: '#000000',
  },
}
SCSS
$custom: #0f57b2;
$custom-light: #7185ca;
$custom-dark: #000000;
JSON
{
  "hex": "#0f57b2",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 213.497,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.15956,
    "h": 257.5
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#0F57B2
secondary
#D1964C
accent
#A02DFB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #0F57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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