#0F2757#0F2757

#0F2757 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.092 H 262.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0F2757
RGBrgb(15, 39, 87)
HSLhsl(220, 71%, 20%)
HSVhsv(220, 83%, 34%)
CMYKcmyk(82.8%, 55.2%, 0%, 65.9%)
CIE-LABlab(16.70, 10.51, -31.72)
CIE-LCHlch(16.70, 33.42, 288.33°)
OKLaboklab(28.55% -0.0124 -0.0913)
OKLCHoklch(28.55% 0.092 262.3)
XYZxyz(2.6422, 2.2404, 9.3082)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2757 #573F0F
analogous
#0F4B57 #0F2757 #1B0F57
triadic
#0F2757 #570F27 #27570F
tetradic
#0F2757 #570F4B #573F0F #0F571B
square
#0F2757 #570F4B #573F0F #0F571B
split-complementary
#0F2757 #571B0F #4B570F
monochromatic
#050C1A #061023 #0F2757 #183E8B #2156BF

Accessibility & contrast

On white

14.50
#0F2757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2757
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2757#FFFFFF#000000##FFFFFF
##0F27571.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082D59
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2757;
/* rgb */ color: rgb(15, 39, 87);
/* oklch */ color: oklch(28.5% 0.092 262.3);
Tailwind
colors: {
  custom: {
    50: '#5a6087',
    500: '#0f2757',
    950: '#000000',
  },
}
SCSS
$custom: #0f2757;
$custom-light: #5a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2757",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 220,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.09212,
    "h": 262.3
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#0F2757
secondary
#917131
accent
#B23AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2757

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

Preview Lab → · Contrast checker → · Palette generator →

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