#0F2E64#0F2E64

#0F2E64 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.102 H 260.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0F2E64
RGBrgb(15, 46, 100)
HSLhsl(218, 74%, 23%)
HSVhsv(218, 85%, 39%)
CMYKcmyk(85%, 54%, 0%, 60.8%)
CIE-LABlab(19.94, 10.99, -35.09)
CIE-LCHlch(19.94, 36.77, 287.39°)
OKLaboklab(31.35% -0.0166 -0.101)
OKLCHoklch(31.35% 0.102 260.7)
XYZxyz(3.4734, 2.9752, 12.4453)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E64 #64450F
analogous
#0F5864 #0F2E64 #1B0F64
triadic
#0F2E64 #640F2E #2E640F
tetradic
#0F2E64 #640F58 #64450F #0F641B
square
#0F2E64 #640F58 #64450F #0F641B
split-complementary
#0F2E64 #641B0F #58640F
monochromatic
#040C1B #07162F #0F2E64 #174699 #1F5FCE

Accessibility & contrast

On white

13.16
#0F2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E64
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E64#FFFFFF#000000##FFFFFF
##0F2E641.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3466
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2e64;
/* rgb */ color: rgb(15, 46, 100);
/* oklch */ color: oklch(31.4% 0.102 260.7);
Tailwind
colors: {
  custom: {
    50: '#5d6691',
    500: '#0f2e64',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e64;
$custom-light: #5d6691;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e64",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 218.118,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31351,
    "c": 0.10239,
    "h": 260.7
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#0F2E64
secondary
#9D7632
accent
#AD37F1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050D
muted
#797A7D

Preview Lab

Preview with #0F2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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