#0F2750#0F2750

#0F2750 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.081 H 260.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0F2750
RGBrgb(15, 39, 80)
HSLhsl(218, 68%, 19%)
HSVhsv(218, 81%, 31%)
CMYKcmyk(81.3%, 51.2%, 0%, 68.6%)
CIE-LABlab(16.16, 7.44, -27.87)
CIE-LCHlch(16.16, 28.85, 284.95°)
OKLaboklab(27.96% -0.0136 -0.0799)
OKLCHoklch(27.96% 0.081 260.4)
XYZxyz(2.3700, 2.1315, 7.8744)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2750 #50380F
analogous
#0F4750 #0F2750 #170F50
triadic
#0F2750 #500F27 #27500F
tetradic
#0F2750 #500F47 #50380F #0F5017
square
#0F2750 #500F47 #50380F #0F5017
split-complementary
#0F2750 #50170F #47500F
monochromatic
#050D1A #050E1C #0F2750 #194084 #2259B7

Accessibility & contrast

On white

14.72
#0F2750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2750
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2750#FFFFFF#000000##FFFFFF
##0F27501.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#03254F
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2750;
/* rgb */ color: rgb(15, 39, 80);
/* oklch */ color: oklch(28.0% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#586081',
    500: '#0f2750',
    950: '#000000',
  },
}
SCSS
$custom: #0f2750;
$custom-light: #586081;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2750",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 217.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27964,
    "c": 0.08109,
    "h": 260.4
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#0F2750
secondary
#8A6931
accent
#AB3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2750

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

Preview Lab → · Contrast checker → · Palette generator →

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