#0F2D58#0F2D58

#0F2D58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.085 H 258.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#0F2D58
RGBrgb(15, 45, 88)
HSLhsl(215, 71%, 20%)
HSVhsv(215, 83%, 35%)
CMYKcmyk(83%, 48.9%, 0%, 65.5%)
CIE-LABlab(18.73, 6.49, -29.13)
CIE-LCHlch(18.73, 29.85, 282.57°)
OKLaboklab(30.13% -0.0178 -0.0835)
OKLCHoklch(30.13% 0.085 258)
XYZxyz(2.8962, 2.6826, 9.5958)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D58 #583A0F
analogous
#0F5258 #0F2D58 #150F58
triadic
#0F2D58 #580F2D #2D580F
tetradic
#0F2D58 #580F52 #583A0F #0F5815
square
#0F2D58 #580F52 #583A0F #0F5815
split-complementary
#0F2D58 #58150F #52580F
monochromatic
#040D1A #061224 #0F2D58 #18488C #2162C1

Accessibility & contrast

On white

13.67
#0F2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D58
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D58#FFFFFF#000000##FFFFFF
##0F2D581.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#072A57
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2d58;
/* rgb */ color: rgb(15, 45, 88);
/* oklch */ color: oklch(30.1% 0.085 258.0);
Tailwind
colors: {
  custom: {
    50: '#5a6587',
    500: '#0f2d58',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d58;
$custom-light: #5a6587;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d58",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 215.342,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30126,
    "c": 0.08541,
    "h": 258
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#0F2D58
secondary
#926A31
accent
#A43AEE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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