#0F274D#0F274D

#0F274D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.076 H 259.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#0F274D
RGBrgb(15, 39, 77)
HSLhsl(217, 67%, 18%)
HSVhsv(217, 81%, 30%)
CMYKcmyk(80.5%, 49.4%, 0%, 69.8%)
CIE-LABlab(15.94, 6.12, -26.19)
CIE-LCHlch(15.94, 26.89, 283.16°)
OKLaboklab(27.73% -0.0142 -0.075)
OKLCHoklch(27.73% 0.076 259.3)
XYZxyz(2.2616, 2.0882, 7.3036)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F274D #4D350F
analogous
#0F464D #0F274D #160F4D
triadic
#0F274D #4D0F27 #274D0F
tetradic
#0F274D #4D0F46 #4D350F #0F4D16
square
#0F274D #4D0F46 #4D350F #0F4D16
split-complementary
#0F274D #4D160F #464D0F
monochromatic
#050D1A #050D1A #0F274D #194180 #235BB3

Accessibility & contrast

On white

14.81
#0F274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F274D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F274D#FFFFFF#000000##FFFFFF
##0F274D1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#08254C
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f274d;
/* rgb */ color: rgb(15, 39, 77);
/* oklch */ color: oklch(27.7% 0.076 259.3);
Tailwind
colors: {
  custom: {
    50: '#57607f',
    500: '#0f274d',
    950: '#000000',
  },
}
SCSS
$custom: #0f274d;
$custom-light: #57607f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f274d",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 216.774,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27725,
    "c": 0.07633,
    "h": 259.3
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#0F274D
secondary
#876631
accent
#A73EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F274D

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

Preview Lab → · Contrast checker → · Palette generator →

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