#0A234E#0A234E

#0A234E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.085 H 260.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#0A234E
RGBrgb(10, 35, 78)
HSLhsl(218, 77%, 17%)
HSVhsv(218, 87%, 31%)
CMYKcmyk(87.2%, 55.1%, 0%, 69.4%)
CIE-LABlab(14.49, 8.89, -29.21)
CIE-LCHlch(14.49, 30.54, 286.92°)
OKLaboklab(26.58% -0.0141 -0.0841)
OKLCHoklch(26.58% 0.085 260.5)
XYZxyz(2.1009, 1.8164, 7.4461)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A234E #4E350A
analogous
#0A454E #0A234E #130A4E
triadic
#0A234E #4E0A23 #234E0A
tetradic
#0A234E #4E0A45 #4E350A #0A4E13
square
#0A234E #4E0A45 #4E350A #0A4E13
split-complementary
#0A234E #4E130A #454E0A
monochromatic
#030C1B #030C1B #0A234E #113B84 #1854BA

Accessibility & contrast

On white

15.40
#0A234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0A234E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A234E
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A234E#FFFFFF#000000##FFFFFF
##0A234E1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082850
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0a234e;
/* rgb */ color: rgb(10, 35, 78);
/* oklch */ color: oklch(26.6% 0.085 260.5);
Tailwind
colors: {
  custom: {
    50: '#565d80',
    500: '#0a234e',
    950: '#000000',
  },
}
SCSS
$custom: #0a234e;
$custom-light: #565d80;
$custom-dark: #000000;
JSON
{
  "hex": "#0a234e",
  "rgb": {
    "r": 10,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 217.941,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26579,
    "c": 0.08524,
    "h": 260.5
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#0A234E
secondary
#8B6729
accent
#AD34F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0A234E

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

Preview Lab → · Contrast checker → · Palette generator →

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