#0F2A59#0F2A59

#0F2A59 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.091 H 260.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#0F2A59
RGBrgb(15, 42, 89)
HSLhsl(218, 71%, 20%)
HSVhsv(218, 83%, 35%)
CMYKcmyk(83.1%, 52.8%, 0%, 65.1%)
CIE-LABlab(17.82, 9.15, -31.25)
CIE-LCHlch(17.82, 32.56, 286.31°)
OKLaboklab(29.45% -0.0148 -0.0898)
OKLCHoklch(29.45% 0.091 260.6)
XYZxyz(2.8275, 2.4784, 9.7786)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A59 #593E0F
analogous
#0F4F59 #0F2A59 #190F59
triadic
#0F2A59 #590F2A #2A590F
tetradic
#0F2A59 #590F4F #593E0F #0F5919
square
#0F2A59 #590F4F #593E0F #0F5919
split-complementary
#0F2A59 #59190F #4F590F
monochromatic
#040C1A #061125 #0F2A59 #18438D #215BC2

Accessibility & contrast

On white

14.04
#0F2A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A59
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A59#FFFFFF#000000##FFFFFF
##0F2A591.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2a59;
/* rgb */ color: rgb(15, 42, 89);
/* oklch */ color: oklch(29.5% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#5a6388',
    500: '#0f2a59',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a59;
$custom-light: #5a6388;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a59",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 89
  },
  "hsl": {
    "h": 218.108,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29454,
    "c": 0.09105,
    "h": 260.6
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#0F2A59
secondary
#936F31
accent
#AC3AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2A59

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

Preview Lab → · Contrast checker → · Palette generator →

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