#0F2B58#0F2B58

#0F2B58 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.088 H 259.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#0F2B58
RGBrgb(15, 43, 88)
HSLhsl(217, 71%, 20%)
HSVhsv(217, 83%, 35%)
CMYKcmyk(83%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.07, 7.97, -30.18)
CIE-LCHlch(18.07, 31.22, 284.79°)
OKLaboklab(29.62% -0.0159 -0.0867)
OKLCHoklch(29.62% 0.088 259.6)
XYZxyz(2.8217, 2.5336, 9.5709)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B58 #583C0F
analogous
#0F5058 #0F2B58 #170F58
triadic
#0F2B58 #580F2B #2B580F
tetradic
#0F2B58 #580F50 #583C0F #0F5817
square
#0F2B58 #580F50 #583C0F #0F5817
split-complementary
#0F2B58 #58170F #50580F
monochromatic
#040D1A #061124 #0F2B58 #18458C #215EC1

Accessibility & contrast

On white

13.94
#0F2B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B58
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B58#FFFFFF#000000##FFFFFF
##0F2B581.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305A
Deuteranopia (green-blind)
#012957
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b58;
/* rgb */ color: rgb(15, 43, 88);
/* oklch */ color: oklch(29.6% 0.088 259.6);
Tailwind
colors: {
  custom: {
    50: '#5a6387',
    500: '#0f2b58',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b58;
$custom-light: #5a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b58",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 216.986,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29621,
    "c": 0.08812,
    "h": 259.6
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#0F2B58
secondary
#926D31
accent
#A93AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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