#0F274C#0F274C

#0F274C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.6% C 0.075 H 258.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#0F274C
RGBrgb(15, 39, 76)
HSLhsl(216, 67%, 18%)
HSVhsv(216, 80%, 30%)
CMYKcmyk(80.3%, 48.7%, 0%, 70.2%)
CIE-LABlab(15.87, 5.69, -25.62)
CIE-LCHlch(15.87, 26.24, 282.52°)
OKLaboklab(27.65% -0.0144 -0.0733)
OKLCHoklch(27.65% 0.075 258.9)
XYZxyz(2.2266, 2.0742, 7.1191)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F274C #4C340F
analogous
#0F454C #0F274C #150F4C
triadic
#0F274C #4C0F27 #274C0F
tetradic
#0F274C #4C0F45 #4C340F #0F4C15
square
#0F274C #4C0F45 #4C340F #0F4C15
split-complementary
#0F274C #4C150F #454C0F
monochromatic
#050D1A #050D1A #0F274C #19417F #235BB2

Accessibility & contrast

On white

14.84
#0F274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F274C
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F274C#FFFFFF#000000##FFFFFF
##0F274C1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4D
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f274c;
/* rgb */ color: rgb(15, 39, 76);
/* oklch */ color: oklch(27.6% 0.075 258.9);
Tailwind
colors: {
  custom: {
    50: '#57607e',
    500: '#0f274c',
    950: '#000000',
  },
}
SCSS
$custom: #0f274c;
$custom-light: #57607e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f274c",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 216.393,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27646,
    "c": 0.07473,
    "h": 258.9
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#0F274C
secondary
#866531
accent
#A63EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F274C

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

Preview Lab → · Contrast checker → · Palette generator →

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