#0F2E60#0F2E60

#0F2E60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.096 H 259.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#0F2E60
RGBrgb(15, 46, 96)
HSLhsl(217, 73%, 22%)
HSVhsv(217, 84%, 38%)
CMYKcmyk(84.4%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.64, 9.25, -32.96)
CIE-LCHlch(19.64, 34.23, 285.68°)
OKLaboklab(31.02% -0.0172 -0.0948)
OKLCHoklch(31.02% 0.096 259.7)
XYZxyz(3.2845, 2.8997, 11.4506)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E60 #60410F
analogous
#0F5760 #0F2E60 #190F60
triadic
#0F2E60 #600F2E #2E600F
tetradic
#0F2E60 #600F57 #60410F #0F6019
square
#0F2E60 #600F57 #60410F #0F6019
split-complementary
#0F2E60 #60190F #57600F
monochromatic
#040D1A #07152B #0F2E60 #174795 #2061CA

Accessibility & contrast

On white

13.29
#0F2E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F2E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E60
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E60#FFFFFF#000000##FFFFFF
##0F2E601.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2e60;
/* rgb */ color: rgb(15, 46, 96);
/* oklch */ color: oklch(31.0% 0.096 259.7);
Tailwind
colors: {
  custom: {
    50: '#5c668d',
    500: '#0f2e60',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e60;
$custom-light: #5c668d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e60",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 217.037,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31018,
    "c": 0.09633,
    "h": 259.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#0F2E60
secondary
#997232
accent
#A938F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2E60

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

Preview Lab → · Contrast checker → · Palette generator →

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