#0F2E62#0F2E62

#0F2E62 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.099 H 260.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#0F2E62
RGBrgb(15, 46, 98)
HSLhsl(218, 73%, 22%)
HSVhsv(218, 85%, 38%)
CMYKcmyk(84.7%, 53.1%, 0%, 61.6%)
CIE-LABlab(19.79, 10.12, -34.03)
CIE-LCHlch(19.79, 35.50, 286.56°)
OKLaboklab(31.18% -0.0169 -0.0979)
OKLCHoklch(31.18% 0.099 260.2)
XYZxyz(3.3778, 2.9370, 11.9418)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E62 #62430F
analogous
#0F5862 #0F2E62 #190F62
triadic
#0F2E62 #620F2E #2E620F
tetradic
#0F2E62 #620F58 #62430F #0F6219
square
#0F2E62 #620F58 #62430F #0F6219
split-complementary
#0F2E62 #62190F #58620F
monochromatic
#040C1B #07152D #0F2E62 #174797 #1F60CC

Accessibility & contrast

On white

13.23
#0F2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E62
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E62#FFFFFF#000000##FFFFFF
##0F2E621.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3464
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2e62;
/* rgb */ color: rgb(15, 46, 98);
/* oklch */ color: oklch(31.2% 0.099 260.2);
Tailwind
colors: {
  custom: {
    50: '#5d668f',
    500: '#0f2e62',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e62;
$custom-light: #5d668f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e62",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 217.59,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31183,
    "c": 0.09936,
    "h": 260.2
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#0F2E62
secondary
#9B7432
accent
#AB38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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