#0F2B62#0F2B62

#0F2B62 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.103 H 262.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#0F2B62
RGBrgb(15, 43, 98)
HSLhsl(220, 73%, 22%)
HSVhsv(220, 85%, 38%)
CMYKcmyk(84.7%, 56.1%, 0%, 61.6%)
CIE-LABlab(18.85, 12.33, -35.55)
CIE-LCHlch(18.85, 37.63, 289.13°)
OKLaboklab(30.46% -0.0144 -0.1025)
OKLCHoklch(30.46% 0.103 262)
XYZxyz(3.2647, 2.7108, 11.9041)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B62 #62460F
analogous
#0F5562 #0F2B62 #1D0F62
triadic
#0F2B62 #620F2B #2B620F
tetradic
#0F2B62 #620F55 #62460F #0F621D
square
#0F2B62 #620F55 #62460F #0F621D
split-complementary
#0F2B62 #621D0F #55620F
monochromatic
#040C1B #07142D #0F2B62 #174297 #1F5ACC

Accessibility & contrast

On white

13.62
#0F2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2B62
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B62#FFFFFF#000000##FFFFFF
##0F2B621.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043264
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2b62;
/* rgb */ color: rgb(15, 43, 98);
/* oklch */ color: oklch(30.5% 0.103 262.0);
Tailwind
colors: {
  custom: {
    50: '#5d638f',
    500: '#0f2b62',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b62;
$custom-light: #5d638f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b62",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 219.759,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.10348,
    "h": 262
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#0F2B62
secondary
#9B7832
accent
#B238F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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