#0F274E#0F274E

#0F274E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.078 H 259.7°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#0F274E
RGBrgb(15, 39, 78)
HSLhsl(217, 68%, 18%)
HSVhsv(217, 81%, 31%)
CMYKcmyk(80.8%, 50%, 0%, 69.4%)
CIE-LABlab(16.02, 6.56, -26.75)
CIE-LCHlch(16.02, 27.55, 283.79°)
OKLaboklab(27.8% -0.014 -0.0766)
OKLCHoklch(27.8% 0.078 259.7)
XYZxyz(2.2972, 2.1024, 7.4910)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F274E #4E360F
analogous
#0F464E #0F274E #160F4E
triadic
#0F274E #4E0F27 #274E0F
tetradic
#0F274E #4E0F46 #4E360F #0F4E16
square
#0F274E #4E0F46 #4E360F #0F4E16
split-complementary
#0F274E #4E160F #464E0F
monochromatic
#050D1A #050D1B #0F274E #194181 #235AB5

Accessibility & contrast

On white

14.78
#0F274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F274E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F274E#FFFFFF#000000##FFFFFF
##0F274E1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#06254D
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f274e;
/* rgb */ color: rgb(15, 39, 78);
/* oklch */ color: oklch(27.8% 0.078 259.7);
Tailwind
colors: {
  custom: {
    50: '#576080',
    500: '#0f274e',
    950: '#000000',
  },
}
SCSS
$custom: #0f274e;
$custom-light: #576080;
$custom-dark: #000000;
JSON
{
  "hex": "#0f274e",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 217.143,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27804,
    "c": 0.07791,
    "h": 259.7
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#0F274E
secondary
#886731
accent
#A93DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F274E

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

Preview Lab → · Contrast checker → · Palette generator →

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