#0F2D57#0F2D57

#0F2D57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.084 H 257.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2D57
RGBrgb(15, 45, 87)
HSLhsl(215, 71%, 20%)
HSVhsv(215, 83%, 34%)
CMYKcmyk(82.8%, 48.3%, 0%, 65.9%)
CIE-LABlab(18.65, 6.06, -28.58)
CIE-LCHlch(18.65, 29.22, 281.97°)
OKLaboklab(30.05% -0.018 -0.0819)
OKLCHoklch(30.05% 0.084 257.6)
XYZxyz(2.8551, 2.6661, 9.3791)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D57 #57390F
analogous
#0F5157 #0F2D57 #150F57
triadic
#0F2D57 #570F2D #2D570F
tetradic
#0F2D57 #570F51 #57390F #0F5715
square
#0F2D57 #570F51 #57390F #0F5715
split-complementary
#0F2D57 #57150F #51570F
monochromatic
#050E1A #061223 #0F2D57 #18488B #2163BF

Accessibility & contrast

On white

13.70
#0F2D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D57
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D57#FFFFFF#000000##FFFFFF
##0F2D571.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173159
Deuteranopia (green-blind)
#092A56
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2d57;
/* rgb */ color: rgb(15, 45, 87);
/* oklch */ color: oklch(30.0% 0.084 257.6);
Tailwind
colors: {
  custom: {
    50: '#5a6587',
    500: '#0f2d57',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d57;
$custom-light: #5a6587;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d57",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 215,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.30049,
    "c": 0.08387,
    "h": 257.6
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#0F2D57
secondary
#916931
accent
#A33AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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