#0F2953#0F2953

#0F2953 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.083 H 259.6°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0F2953
RGBrgb(15, 41, 83)
HSLhsl(217, 69%, 19%)
HSVhsv(217, 82%, 33%)
CMYKcmyk(81.9%, 50.6%, 0%, 67.5%)
CIE-LABlab(17.04, 7.26, -28.48)
CIE-LCHlch(17.04, 29.39, 284.30°)
OKLaboklab(28.71% -0.015 -0.0817)
OKLCHoklch(28.71% 0.083 259.6)
XYZxyz(2.5507, 2.3117, 8.4937)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2953 #53390F
analogous
#0F4B53 #0F2953 #170F53
triadic
#0F2953 #530F29 #29530F
tetradic
#0F2953 #530F4B #53390F #0F5317
square
#0F2953 #530F4B #53390F #0F5317
split-complementary
#0F2953 #53170F #4B530F
monochromatic
#050D1A #060F1F #0F2953 #184387 #225CBB

Accessibility & contrast

On white

14.36
#0F2953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2953
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2953#FFFFFF#000000##FFFFFF
##0F29531.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D55
Deuteranopia (green-blind)
#042752
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2953;
/* rgb */ color: rgb(15, 41, 83);
/* oklch */ color: oklch(28.7% 0.083 259.6);
Tailwind
colors: {
  custom: {
    50: '#596284',
    500: '#0f2953',
    950: '#000000',
  },
}
SCSS
$custom: #0f2953;
$custom-light: #596284;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2953",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 83
  },
  "hsl": {
    "h": 217.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.08306,
    "h": 259.6
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#0F2953
secondary
#8D6A31
accent
#A93CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2953

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

Preview Lab → · Contrast checker → · Palette generator →

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