#0F274B#0F274B

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

Color values

HEX#0F274B
RGBrgb(15, 39, 75)
HSLhsl(216, 67%, 18%)
HSVhsv(216, 80%, 29%)
CMYKcmyk(80%, 48%, 0%, 70.6%)
CIE-LABlab(15.80, 5.25, -25.05)
CIE-LCHlch(15.80, 25.60, 281.84°)
OKLaboklab(27.57% -0.0146 -0.0717)
OKLCHoklch(27.57% 0.073 258.5)
XYZxyz(2.1921, 2.0604, 6.9374)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F274B #4B330F
analogous
#0F454B #0F274B #150F4B
triadic
#0F274B #4B0F27 #274B0F
tetradic
#0F274B #4B0F45 #4B330F #0F4B15
square
#0F274B #4B0F45 #4B330F #0F4B15
split-complementary
#0F274B #4B150F #454B0F
monochromatic
#050D1A #050D1A #0F274B #19427E #235CB1

Accessibility & contrast

On white

14.87
#0F274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F274B
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F274B#FFFFFF#000000##FFFFFF
##0F274B1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#0A254A
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f274b;
/* rgb */ color: rgb(15, 39, 75);
/* oklch */ color: oklch(27.6% 0.073 258.5);
Tailwind
colors: {
  custom: {
    50: '#57607d',
    500: '#0f274b',
    950: '#000000',
  },
}
SCSS
$custom: #0f274b;
$custom-light: #57607d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f274b",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 216,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27569,
    "c": 0.07314,
    "h": 258.5
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#0F274B
secondary
#856330
accent
#A53EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F274B

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

Preview Lab → · Contrast checker → · Palette generator →

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